#18257F#18257F
#18257F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.151 H 269.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #18257F |
|---|---|
| RGB | rgb(24, 37, 127) |
| HSL | hsl(232, 68%, 30%) |
| HSV | hsv(232, 81%, 50%) |
| CMYK | cmyk(81.1%, 70.9%, 0%, 50.2%) |
| CIE-LAB | lab(20.24, 29.48, -51.97) |
| CIE-LCH | lch(20.24, 59.75, 299.56°) |
| OKLab | oklab(32.43% -0.0025 -0.1505) |
| OKLCH | oklch(32.43% 0.151 269.1) |
| XYZ | xyz(4.8677, 3.0491, 20.4065) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.77
Royal
#0C1793
ΔE00 4.91
Dark Royal Blue
#02066F
ΔE00 7.32
Darkblue
#00008B
ΔE00 7.70
Sapphire (survey)
#2138AB
ΔE00 7.76
Navy
#000080
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18257F #7F7218
analogous
#18597F #18257F #3E187F
triadic
#18257F #7F1825 #257F18
tetradic
#18257F #7F1859 #7F7218 #187F3E
square
#18257F #7F1859 #7F7218 #187F3E
split-complementary
#18257F #7F3E18 #597F18
monochromatic
#05071A #0E164C #18257F #2234B2 #384CD9
Accessibility & contrast
On white
13.04
#18257F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#18257F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18257F
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18257F | 1.00 | 13.04 | 1.61 | 13.04 |
| #FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #18257f; /* rgb */ color: rgb(24, 37, 127); /* oklch */ color: oklch(32.4% 0.151 269.1);
Tailwind
colors: {
custom: {
50: '#685fa5',
500: '#18257f',
950: '#000000',
},
}SCSS
$custom: #18257f; $custom-light: #685fa5; $custom-dark: #000000;
JSON
{
"hex": "#18257f",
"rgb": {
"r": 24,
"g": 37,
"b": 127
},
"hsl": {
"h": 232.427,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.32431,
"c": 0.15052,
"h": 269.1
},
"luminance": 0.0305
}Semantic roles & 50–950 ramp
primary
#18257F
secondary
#B3A53F
accent
#D53DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F