#18247C#18247C
#18247C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.148 H 269.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #18247C |
|---|---|
| RGB | rgb(24, 36, 124) |
| HSL | hsl(233, 68%, 29%) |
| HSV | hsv(233, 81%, 49%) |
| CMYK | cmyk(80.6%, 71%, 0%, 51.4%) |
| CIE-LAB | lab(19.68, 28.99, -50.98) |
| CIE-LCH | lch(19.68, 58.65, 299.62°) |
| OKLab | oklab(31.93% -0.0017 -0.1476) |
| OKLCH | oklch(31.93% 0.148 269.4) |
| XYZ | xyz(4.6444, 2.9107, 19.3819) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.36
Royal
#0C1793
ΔE00 5.08
Dark Royal Blue
#02066F
ΔE00 7.03
Darkblue (survey)
#030764
ΔE00 7.45
Deep Blue
#040273
ΔE00 7.58
Navy
#000080
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18247C #7C7018
analogous
#18567C #18247C #3E187C
triadic
#18247C #7C1824 #247C18
tetradic
#18247C #7C1856 #7C7018 #187C3E
square
#18247C #7C1856 #7C7018 #187C3E
split-complementary
#18247C #7C3E18 #567C18
monochromatic
#05071A #0E1549 #18247C #2233AF #364AD8
Accessibility & contrast
On white
13.27
#18247C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#18247C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18247C
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18247C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18247C | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #18247c; /* rgb */ color: rgb(24, 36, 124); /* oklch */ color: oklch(31.9% 0.148 269.4);
Tailwind
colors: {
custom: {
50: '#685fa3',
500: '#18247c',
950: '#000000',
},
}SCSS
$custom: #18247c; $custom-light: #685fa3; $custom-dark: #000000;
JSON
{
"hex": "#18247c",
"rgb": {
"r": 24,
"g": 36,
"b": 124
},
"hsl": {
"h": 232.8,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.31934,
"c": 0.14763,
"h": 269.4
},
"luminance": 0.02911
}Semantic roles & 50–950 ramp
primary
#18247C
secondary
#B1A33F
accent
#D63DEA
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F