#0E3171#0E3171
#0E3171 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.118 H 261.3°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).
Color values
| HEX | #0E3171 |
|---|---|
| RGB | rgb(14, 49, 113) |
| HSL | hsl(219, 78%, 25%) |
| HSV | hsv(219, 88%, 44%) |
| CMYK | cmyk(87.6%, 56.6%, 0%, 55.7%) |
| CIE-LAB | lab(21.88, 14.33, -40.38) |
| CIE-LCH | lch(21.88, 42.85, 289.53°) |
| OKLab | oklab(33.14% -0.0179 -0.1165) |
| OKLCH | oklch(33.14% 0.118 261.3) |
| XYZ | xyz(4.2590, 3.4817, 16.0672) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.95
Marine Blue
#01386A
ΔE00 4.15
Darkish Blue
#014182
ΔE00 5.93
Twilight Blue
#0A437A
ΔE00 6.64
Navy Blue
#1B2A4A
ΔE00 7.31
Cobalt (survey)
#1E488F
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0E3171 #714E0E
analogous
#0E6371 #0E3171 #1D0E71
triadic
#0E3171 #710E31 #31710E
tetradic
#0E3171 #710E63 #714E0E #0E711D
square
#0E3171 #710E63 #714E0E #0E711D
split-complementary
#0E3171 #711D0E #63710E
monochromatic
#030C1B #07193B #0E3171 #1549A7 #1B60DE
Accessibility & contrast
On white
12.38
#0E3171 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#0E3171 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0E3171
12.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0E3171 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0E3171 | 1.00 | 12.38 | 1.70 | 12.38 |
| #FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #0e3171; /* rgb */ color: rgb(14, 49, 113); /* oklch */ color: oklch(33.1% 0.118 261.3);
Tailwind
colors: {
custom: {
50: '#61689a',
500: '#0e3171',
950: '#000000',
},
}SCSS
$custom: #0e3171; $custom-light: #61689a; $custom-dark: #000000;
JSON
{
"hex": "#0e3171",
"rgb": {
"r": 14,
"g": 49,
"b": 113
},
"hsl": {
"h": 218.788,
"s": 77.953,
"l": 24.902
},
"oklch": {
"l": 0.33144,
"c": 0.11792,
"h": 261.3
},
"luminance": 0.03482
}Semantic roles & 50–950 ramp
primary
#0E3171
secondary
#A97F32
accent
#B033F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E