#18247F#18247F
#18247F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.152 H 269.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #18247F |
|---|---|
| RGB | rgb(24, 36, 127) |
| HSL | hsl(233, 68%, 30%) |
| HSV | hsv(233, 81%, 50%) |
| CMYK | cmyk(81.1%, 71.7%, 0%, 50.2%) |
| CIE-LAB | lab(19.99, 30.14, -52.38) |
| CIE-LCH | lch(19.99, 60.43, 299.92°) |
| OKLab | oklab(32.25% -0.002 -0.1517) |
| OKLCH | oklch(32.25% 0.152 269.3) |
| XYZ | xyz(4.8370, 2.9877, 20.3963) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.53
Royal
#0C1793
ΔE00 4.67
Dark Royal Blue
#02066F
ΔE00 7.04
Darkblue
#00008B
ΔE00 7.40
Navy
#000080
ΔE00 7.47
Deep Blue
#040273
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18247F #7F7318
analogous
#18577F #18247F #40187F
triadic
#18247F #7F1824 #247F18
tetradic
#18247F #7F1857 #7F7318 #187F40
square
#18247F #7F1857 #7F7318 #187F40
split-complementary
#18247F #7F4018 #577F18
monochromatic
#05071A #0E154C #18247F #2233B2 #384BD9
Accessibility & contrast
On white
13.14
#18247F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#18247F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18247F
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18247F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18247F | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #18247f; /* rgb */ color: rgb(24, 36, 127); /* oklch */ color: oklch(32.3% 0.152 269.3);
Tailwind
colors: {
custom: {
50: '#695fa5',
500: '#18247f',
950: '#000000',
},
}SCSS
$custom: #18247f; $custom-light: #695fa5; $custom-dark: #000000;
JSON
{
"hex": "#18247f",
"rgb": {
"r": 24,
"g": 36,
"b": 127
},
"hsl": {
"h": 233.01,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.32254,
"c": 0.15169,
"h": 269.3
},
"luminance": 0.02988
}Semantic roles & 50–950 ramp
primary
#18247F
secondary
#B3A63F
accent
#D73DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F