#0000FF Color Details, Palettes & Contrast

All the conversions, harmonies, and accessibility checks you need to design with confidence.

RGB:rgb(0, 0, 255)
HSL:hsl(240, 100%, 50%)
HEX
#0000FF
RGB
0, 0, 255
HSL
240°, 100%, 50%
HSV
240°, 100%, 100%
CMYK
100%, 100%, 0%, 0%

Color Conversion

Generate values across multiple color models in one place.

#0000FF

Tints & shades

Explore how #0000FF behaves when you mix it with white or black. These swatches are perfect for hover states, shadows, and backgrounds.

Hover to copy any hex value and reuse it across your interface.

Shades

0–100%
0%#0000FF
10%#0000E6
20%#0000CC
30%#0000B3
40%#000099
50%#000080
60%#000066
70%#00004D
80%#000033
90%#000019
100%#000000

Tints

0–100%
0%#0000FF
10%#1A1AFF
20%#3333FF
30%#4D4DFF
40%#6666FF
50%#8080FF
60%#9999FF
70%#B3B3FF
80%#CCCCFF
90%#E5E5FF
100%#FFFFFF

Common use cases

  • UI component states (hover, active, disabled)
  • Creating depth with shadows and highlights
  • Building consistent color systems

Design system

Design system tip

These variations form the foundation of a cohesive palette. Export them to keep marketing, product, and engineering aligned.

Export palette

Color harmonies

Build balanced palettes instantly with harmonies generated from #0000FF.

Click any swatch to open its own detail page and keep exploring.

How to use

Pick one dominant color, then let supporting hues act as accents for typography, surfaces, and call-to-action buttons.

Why it matters

Balanced harmonies communicate intent—calm, energetic, premium—without overwhelming your layout.

Complementary

Opposite hues that create impact and bold contrast.

Suggested for

High-impact CTAs, logos, and hero sections

Analogous

Neighboring hues for natural, fluid gradients.

Suggested for

Nature-inspired, calming dashboards

Triadic

Three evenly spaced hues for playful balance.

Suggested for

Playful branding and editorial layouts

Tetradic

Two complementary pairs that deliver rich variety.

Suggested for

Illustrations and marketing experiments

Monochromatic

Lighter and darker siblings inside the same hue family.

Suggested for

Minimalist interfaces and premium UI states

Accessibility contrast

Check how readable #0000FF is with common text colors so every visitor enjoys a clear experience.

Use AA as the baseline for body copy and AAA for premium accessibility.

Sample text on black text
Text color#000000
Background#0000FF
Contrast ratio2.44:1
WCAG levelFail
Sample text on white text
Text color#FFFFFF
Background#0000FF
Contrast ratio8.59:1
WCAG levelAAA
Recommended text preview
Text color#FFFFFF
Background#0000FF
Contrast ratio8.59:1
WCAG levelAAA

Technical Formats

Advanced color formats used in design systems.

HEX
#0000FF
RGB
rgb(0, 0, 255)
HSL
hsl(240, 100%, 50%)
HSV
hsv(240.00 100.00% 100.00%)
LAB
lab(29.57 68.29 -112.03)
LCH
lch(29.57 131.20 301.36)
OKLAB
oklab(0.45 -0.0325 -0.3115)
OKLCH
oklch(0.45 0.3132 264.05)
Display P3
color(display-p3 7.172040739078511e-16 -4.0342729157316626e-16 0.9595880266758096)
CSS Color Level 4
color(srgb 0 0 1)
XYZ
color(xyz-d65 0.1805 0.0722 0.9505)
CMYK
cmyk(100.00% 100.00% 0.00% 0.00%)

Practical Formats

Variables, config files, and code snippets.

CSS Variable
--color-brand-primary: #0000FF;
CSS RGB Variable
--color-brand-primary-rgb: 0, 0, 255;
SCSS Variable
$color-brand-primary: #0000FF;
Tailwind Config
"brand-primary": "#0000FF"
JavaScript
const brandprimary = "#0000FF";
Design Token JSON
{
  "color": {
    "brand-primary": {
      "value": "#0000FF",
      "type": "color"
    }
  }
}
SVG Fill
<rect fill="#0000FF" />
Android XML
<color name="brand_primary">#0000FF</color>
iOS Swift
UIColor(red: 0.000, green: 0.000, blue: 1.000, alpha: 1.0)
HSL CSS Variable
--color-brand-primary-hsl: 240.00 100.00% 50.00%;

Color Analysis

Deep dive into color properties and accessibility.

Closest Color Name
blue
Temperature
Cool
Hue Family
Blue
Relative Luminance
0.0722
Saturation Level
Highly saturated
Lightness Level
Medium

Blindness Simulator

How this color appears under color vision deficiencies.

Protanopia

Red-blind simulation

#0000FF

Deuteranopia

Green-blind simulation

#0000FF

Tritanopia

Blue-blind simulation

#002020

Achromatopsia

No-color simulation

#121212

Creative Aspects

Palettes, gradients, and moods.

Complementary

#0000FF#FFFF00

Analogous

#007FFF#0000FF#7F00FF

Triadic

#0000FF#FF0000#00FF00

Tetradic

#0000FF#FF0080#FFFF00#00FF80

Monochromatic

#B273FF#8042FE#0000FF#0000CA#000097

Tints

#FFFFFF#DCC4FF#B38BFF#7E52FF#0000FF

Shades

#0000FF#0000E7#0000CF#0000B8#000000

Gradient Flow

#006AFF#0048FF#0000FF#4B00FF#6A00FF

Design guidance

Balance

Treat #0000FF as a highlight. Pair it with neutrals and one supporting hue to avoid visual overload.

Contrast

Test combinations with real content. Higher contrast improves scanning, readability, and conversions.

Harmony

Use lighter tints for surfaces, the base color for primaries, and darker shades for hover or pressed states.

Need another color?

Jump back to the color picker to upload images, generate palettes, and explore new color relationships.

Pick Another Color