#18247E#18247E
#18247E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.150 H 269.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #18247E |
|---|---|
| RGB | rgb(24, 36, 126) |
| HSL | hsl(233, 68%, 29%) |
| HSV | hsv(233, 81%, 49%) |
| CMYK | cmyk(81%, 71.4%, 0%, 50.6%) |
| CIE-LAB | lab(19.89, 29.76, -51.91) |
| CIE-LCH | lch(19.89, 59.84, 299.82°) |
| OKLab | oklab(32.15% -0.0018 -0.1503) |
| OKLCH | oklch(32.15% 0.15 269.3) |
| XYZ | xyz(4.7722, 2.9618, 20.0548) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.46
Royal
#0C1793
ΔE00 4.80
Dark Royal Blue
#02066F
ΔE00 7.03
Darkblue
#00008B
ΔE00 7.49
Darkblue (survey)
#030764
ΔE00 7.52
Navy
#000080
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18247E #7E7218
analogous
#18577E #18247E #3F187E
triadic
#18247E #7E1824 #247E18
tetradic
#18247E #7E1857 #7E7218 #187E3F
square
#18247E #7E1857 #7E7218 #187E3F
split-complementary
#18247E #7E3F18 #577E18
monochromatic
#05071A #0E154B #18247E #2233B1 #374AD9
Accessibility & contrast
On white
13.19
#18247E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#18247E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18247E
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18247E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18247E | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #18247e; /* rgb */ color: rgb(24, 36, 126); /* oklch */ color: oklch(32.1% 0.150 269.3);
Tailwind
colors: {
custom: {
50: '#685fa4',
500: '#18247e',
950: '#000000',
},
}SCSS
$custom: #18247e; $custom-light: #685fa4; $custom-dark: #000000;
JSON
{
"hex": "#18247e",
"rgb": {
"r": 24,
"g": 36,
"b": 126
},
"hsl": {
"h": 232.941,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.32147,
"c": 0.15034,
"h": 269.3
},
"luminance": 0.02962
}Semantic roles & 50–950 ramp
primary
#18247E
secondary
#B2A53F
accent
#D63DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F