#182F57#182F57
#182F57 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.078 H 260.7°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #182F57 |
|---|---|
| RGB | rgb(24, 47, 87) |
| HSL | hsl(218, 57%, 22%) |
| HSV | hsv(218, 72%, 34%) |
| CMYK | cmyk(72.4%, 46%, 0%, 65.9%) |
| CIE-LAB | lab(19.70, 6.09, -26.88) |
| CIE-LCH | lch(19.70, 27.57, 282.77°) |
| OKLab | oklab(30.97% -0.0126 -0.0767) |
| OKLCH | oklch(30.97% 0.078 260.7) |
| XYZ | xyz(3.1129, 2.9150, 9.4136) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.61
Navy Blue
#1B2A4A
ΔE00 2.99
Marine Blue
#01386A
ΔE00 5.01
Twilight Blue
#0A437A
ΔE00 8.19
Navy (survey)
#01153E
ΔE00 8.26
Darkish Blue
#014182
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F57 #574018
analogous
#184F57 #182F57 #211857
triadic
#182F57 #57182F #2F5718
tetradic
#182F57 #57184F #574018 #185721
square
#182F57 #57184F #574018 #185721
split-complementary
#182F57 #572118 #4F5718
monochromatic
#070D18 #0B1527 #182F57 #254987 #3263B7
Accessibility & contrast
On white
13.27
#182F57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#182F57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F57
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F57 | 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)
#1C3359
Deuteranopia (green-blind)
#122D56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #182f57; /* rgb */ color: rgb(24, 47, 87); /* oklch */ color: oklch(31.0% 0.078 260.7);
Tailwind
colors: {
custom: {
50: '#5d6787',
500: '#182f57',
950: '#000000',
},
}SCSS
$custom: #182f57; $custom-light: #5d6787; $custom-dark: #000000;
JSON
{
"hex": "#182f57",
"rgb": {
"r": 24,
"g": 47,
"b": 87
},
"hsl": {
"h": 218.095,
"s": 56.757,
"l": 21.765
},
"oklch": {
"l": 0.30966,
"c": 0.07775,
"h": 260.7
},
"luminance": 0.02915
}Semantic roles & 50–950 ramp
primary
#182F57
secondary
#8E703D
accent
#A848E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C