#18254F#18254F
#18254F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.9% C 0.079 H 268.0°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #18254F |
|---|---|
| RGB | rgb(24, 37, 79) |
| HSL | hsl(226, 53%, 20%) |
| HSV | hsv(226, 70%, 31%) |
| CMYK | cmyk(69.6%, 53.2%, 0%, 69%) |
| CIE-LAB | lab(15.91, 10.14, -27.58) |
| CIE-LCH | lch(15.91, 29.38, 290.19°) |
| OKLab | oklab(27.88% -0.0027 -0.0789) |
| OKLCH | oklch(27.88% 0.079 268) |
| XYZ | xyz(2.4491, 2.0816, 7.6684) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.24
Navy (survey)
#01153E
ΔE00 5.05
Marine
#042E60
ΔE00 5.34
Navy Blue (survey)
#001146
ΔE00 6.44
Dark Navy
#000435
ΔE00 8.36
Marine Blue
#01386A
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18254F #4F4218
analogous
#18404F #18254F #26184F
triadic
#18254F #4F1825 #254F18
tetradic
#18254F #4F1840 #4F4218 #184F26
square
#18254F #4F1840 #4F4218 #184F26
split-complementary
#18254F #4F2618 #404F18
monochromatic
#070B17 #0A0F20 #18254F #263B7E #3551AD
Accessibility & contrast
On white
14.83
#18254F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#18254F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18254F
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18254F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18254F | 1.00 | 14.83 | 1.42 | 14.83 |
| #FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F2A51
Deuteranopia (green-blind)
#05254E
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #18254f; /* rgb */ color: rgb(24, 37, 79); /* oklch */ color: oklch(27.9% 0.079 268.0);
Tailwind
colors: {
custom: {
50: '#5c5f81',
500: '#18254f',
950: '#000000',
},
}SCSS
$custom: #18254f; $custom-light: #5c5f81; $custom-dark: #000000;
JSON
{
"hex": "#18254f",
"rgb": {
"r": 24,
"g": 37,
"b": 79
},
"hsl": {
"h": 225.818,
"s": 53.398,
"l": 20.196
},
"oklch": {
"l": 0.27876,
"c": 0.07897,
"h": 268
},
"luminance": 0.02082
}Semantic roles & 50–950 ramp
primary
#18254F
secondary
#86753D
accent
#BA4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C