#18207F#18207F
#18207F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.156 H 270.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #18207F |
|---|---|
| RGB | rgb(24, 32, 127) |
| HSL | hsl(235, 68%, 30%) |
| HSV | hsv(235, 81%, 50%) |
| CMYK | cmyk(81.1%, 74.8%, 0%, 50.2%) |
| CIE-LAB | lab(19.05, 32.73, -53.93) |
| CIE-LCH | lch(19.05, 63.09, 301.26°) |
| OKLab | oklab(31.57% -0.0001 -0.1562) |
| OKLCH | oklch(31.57% 0.156 270) |
| XYZ | xyz(4.7227, 2.7590, 20.3582) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.76
Royal
#0C1793
ΔE00 3.82
Dark Royal Blue
#02066F
ΔE00 5.96
Darkblue
#00008B
ΔE00 6.27
Navy
#000080
ΔE00 6.31
Deep Blue
#040273
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18207F #7F7718
analogous
#18547F #18207F #44187F
triadic
#18207F #7F1820 #207F18
tetradic
#18207F #7F1854 #7F7718 #187F44
square
#18207F #7F1854 #7F7718 #187F44
split-complementary
#18207F #7F4418 #547F18
monochromatic
#05061A #0E134C #18207F #222DB2 #3845D9
Accessibility & contrast
On white
13.53
#18207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#18207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18207F
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18207F | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #18207f; /* rgb */ color: rgb(24, 32, 127); /* oklch */ color: oklch(31.6% 0.156 270.0);
Tailwind
colors: {
custom: {
50: '#695ca5',
500: '#18207f',
950: '#000000',
},
}SCSS
$custom: #18207f; $custom-light: #695ca5; $custom-dark: #000000;
JSON
{
"hex": "#18207f",
"rgb": {
"r": 24,
"g": 32,
"b": 127
},
"hsl": {
"h": 235.34,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.31575,
"c": 0.1562,
"h": 270
},
"luminance": 0.0276
}Semantic roles & 50–950 ramp
primary
#18207F
secondary
#B3AA3F
accent
#DE3DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F