#18207B#18207B
#18207B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.1% C 0.151 H 270.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #18207B |
|---|---|
| RGB | rgb(24, 32, 123) |
| HSL | hsl(235, 67%, 29%) |
| HSV | hsv(235, 80%, 48%) |
| CMYK | cmyk(80.5%, 74%, 0%, 51.8%) |
| CIE-LAB | lab(18.61, 31.24, -52.11) |
| CIE-LCH | lch(18.61, 60.76, 300.95°) |
| OKLab | oklab(31.13% 0.0005 -0.1509) |
| OKLCH | oklch(31.13% 0.151 270.2) |
| XYZ | xyz(4.4671, 2.6568, 19.0124) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.36
Royal
#0C1793
ΔE00 4.40
Dark Royal Blue
#02066F
ΔE00 5.89
Darkblue (survey)
#030764
ΔE00 6.39
Deep Blue
#040273
ΔE00 6.41
Navy
#000080
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18207B #7B7318
analogous
#18527B #18207B #42187B
triadic
#18207B #7B1820 #207B18
tetradic
#18207B #7B1852 #7B7318 #187B42
square
#18207B #7B1852 #7B7318 #187B42
split-complementary
#18207B #7B4218 #527B18
monochromatic
#05071A #0E1348 #18207B #222DAE #3643D8
Accessibility & contrast
On white
13.71
#18207B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#18207B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18207B
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18207B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18207B | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327E
Deuteranopia (green-blind)
#002879
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #18207b; /* rgb */ color: rgb(24, 32, 123); /* oklch */ color: oklch(31.1% 0.151 270.2);
Tailwind
colors: {
custom: {
50: '#685ca2',
500: '#18207b',
950: '#000000',
},
}SCSS
$custom: #18207b; $custom-light: #685ca2; $custom-dark: #000000;
JSON
{
"hex": "#18207b",
"rgb": {
"r": 24,
"g": 32,
"b": 123
},
"hsl": {
"h": 235.152,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.3113,
"c": 0.15089,
"h": 270.2
},
"luminance": 0.02657
}Semantic roles & 50–950 ramp
primary
#18207B
secondary
#B0A73F
accent
#DC3EEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F