#18257E#18257E
#18257E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.149 H 269.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #18257E |
|---|---|
| RGB | rgb(24, 37, 126) |
| HSL | hsl(232, 68%, 29%) |
| HSV | hsv(232, 81%, 49%) |
| CMYK | cmyk(81%, 70.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.14, 29.09, -51.51) |
| CIE-LCH | lch(20.14, 59.16, 299.46°) |
| OKLab | oklab(32.32% -0.0024 -0.1491) |
| OKLCH | oklch(32.32% 0.149 269.1) |
| XYZ | xyz(4.8029, 3.0231, 20.0650) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.71
Royal
#0C1793
ΔE00 5.04
Dark Royal Blue
#02066F
ΔE00 7.32
Darkblue
#00008B
ΔE00 7.78
Darkblue (survey)
#030764
ΔE00 7.78
Navy
#000080
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18257E #7E7118
analogous
#18587E #18257E #3E187E
triadic
#18257E #7E1825 #257E18
tetradic
#18257E #7E1858 #7E7118 #187E3E
square
#18257E #7E1858 #7E7118 #187E3E
split-complementary
#18257E #7E3E18 #587E18
monochromatic
#05081A #0E164B #18257E #2234B1 #374CD9
Accessibility & contrast
On white
13.09
#18257E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#18257E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18257E
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18257E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18257E | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #18257e; /* rgb */ color: rgb(24, 37, 126); /* oklch */ color: oklch(32.3% 0.149 269.1);
Tailwind
colors: {
custom: {
50: '#685fa4',
500: '#18257e',
950: '#000000',
},
}SCSS
$custom: #18257e; $custom-light: #685fa4; $custom-dark: #000000;
JSON
{
"hex": "#18257e",
"rgb": {
"r": 24,
"g": 37,
"b": 126
},
"hsl": {
"h": 232.353,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.32325,
"c": 0.14916,
"h": 269.1
},
"luminance": 0.03024
}Semantic roles & 50–950 ramp
primary
#18257E
secondary
#B2A43F
accent
#D53DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F