#18204F#18204F
#18204F is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.086 H 272.0°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).
Color values
| HEX | #18204F |
|---|---|
| RGB | rgb(24, 32, 79) |
| HSL | hsl(231, 53%, 20%) |
| HSV | hsv(231, 70%, 31%) |
| CMYK | cmyk(69.6%, 59.5%, 0%, 69%) |
| CIE-LAB | lab(14.35, 13.87, -30.09) |
| CIE-LCH | lch(14.35, 33.13, 294.76°) |
| OKLab | oklab(26.7% 0.003 -0.0864) |
| OKLCH | oklch(26.7% 0.086 272) |
| XYZ | xyz(2.3040, 1.7915, 7.6200) |
| Luminance | 0.0179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 4.25
Navy Blue (survey)
#001146
ΔE00 4.74
Navy Blue
#1B2A4A
ΔE00 5.21
Marine
#042E60
ΔE00 6.84
Dark Navy
#000435
ΔE00 6.99
Very Dark Blue
#000133
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18204F #4F4718
analogous
#183B4F #18204F #2C184F
triadic
#18204F #4F1820 #204F18
tetradic
#18204F #4F183B #4F4718 #184F2C
square
#18204F #4F183B #4F4718 #184F2C
split-complementary
#18204F #4F2C18 #3B4F18
monochromatic
#070A17 #0A0D20 #18204F #26337E #3546AD
Accessibility & contrast
On white
15.46
#18204F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#18204F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18204F
15.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18204F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18204F | 1.00 | 15.46 | 1.36 | 15.46 |
| #FFFFFF | 15.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#00224E
Tritanopia (blue-blind)
#002B34
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #18204f; /* rgb */ color: rgb(24, 32, 79); /* oklch */ color: oklch(26.7% 0.086 272.0);
Tailwind
colors: {
custom: {
50: '#5c5b81',
500: '#18204f',
950: '#000000',
},
}SCSS
$custom: #18204f; $custom-light: #5c5b81; $custom-dark: #000000;
JSON
{
"hex": "#18204f",
"rgb": {
"r": 24,
"g": 32,
"b": 79
},
"hsl": {
"h": 231.273,
"s": 53.398,
"l": 20.196
},
"oklch": {
"l": 0.26698,
"c": 0.08644,
"h": 272
},
"luminance": 0.01792
}Semantic roles & 50–950 ramp
primary
#18204F
secondary
#867B3D
accent
#C84BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C