#0E408D#0E408D
#0E408D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.138 H 259.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #0E408D |
|---|---|
| RGB | rgb(14, 64, 141) |
| HSL | hsl(216, 82%, 30%) |
| HSV | hsv(216, 90%, 55%) |
| CMYK | cmyk(90.1%, 54.6%, 0%, 44.7%) |
| CIE-LAB | lab(28.60, 15.55, -47.08) |
| CIE-LCH | lch(28.60, 49.58, 288.28°) |
| OKLab | oklab(38.96% -0.025 -0.1359) |
| OKLCH | oklch(38.96% 0.138 259.6) |
| XYZ | xyz(6.8205, 5.6824, 25.9315) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.40
Cobalt (survey)
#1E488F
ΔE00 2.55
Twilight Blue
#0A437A
ΔE00 3.67
Cobalt
#0047AB
ΔE00 4.29
Prussian Blue
#004577
ΔE00 5.10
Marine Blue
#01386A
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0E408D #8D5B0E
analogous
#0E7F8D #0E408D #1C0E8D
triadic
#0E408D #8D0E40 #408D0E
tetradic
#0E408D #8D0E7F #8D5B0E #0E8D1C
square
#0E408D #8D0E7F #8D5B0E #0E8D1C
split-complementary
#0E408D #8D1C0E #7F8D0E
monochromatic
#030D1E #082755 #0E408D #1459C5 #2B76EA
Accessibility & contrast
On white
9.83
#0E408D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#0E408D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0E408D
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0E408D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0E408D | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #0e408d; /* rgb */ color: rgb(14, 64, 141); /* oklch */ color: oklch(39.0% 0.138 259.6);
Tailwind
colors: {
custom: {
50: '#6874af',
500: '#0e408d',
950: '#000000',
},
}SCSS
$custom: #0e408d; $custom-light: #6874af; $custom-dark: #000000;
JSON
{
"hex": "#0e408d",
"rgb": {
"r": 14,
"g": 64,
"b": 141
},
"hsl": {
"h": 216.378,
"s": 81.935,
"l": 30.392
},
"oklch": {
"l": 0.38959,
"c": 0.13819,
"h": 259.6
},
"luminance": 0.05683
}Semantic roles & 50–950 ramp
primary
#0E408D
secondary
#C28A35
accent
#A930F8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F