#182F52#182F52
#182F52 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.070 H 258.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #182F52 |
|---|---|
| RGB | rgb(24, 47, 82) |
| HSL | hsl(216, 55%, 21%) |
| HSV | hsv(216, 71%, 32%) |
| CMYK | cmyk(70.7%, 42.7%, 0%, 67.8%) |
| CIE-LAB | lab(19.38, 4.04, -24.06) |
| CIE-LCH | lch(19.38, 24.40, 279.53°) |
| OKLab | oklab(30.61% -0.0138 -0.0684) |
| OKLCH | oklch(30.61% 0.07 258.6) |
| XYZ | xyz(2.9157, 2.8361, 8.3748) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.55
Marine
#042E60
ΔE00 3.29
Marine Blue
#01386A
ΔE00 5.23
Twilight Blue
#0A437A
ΔE00 8.41
Navy (survey)
#01153E
ΔE00 8.47
Darkish Blue
#014182
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F52 #523B18
analogous
#184C52 #182F52 #1E1852
triadic
#182F52 #52182F #2F5218
tetradic
#182F52 #52184C #523B18 #18521E
square
#182F52 #52184C #523B18 #18521E
split-complementary
#182F52 #521E18 #4C5218
monochromatic
#070E18 #0A1423 #182F52 #264A81 #3465B1
Accessibility & contrast
On white
13.40
#182F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#182F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F52
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F52 | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3253
Deuteranopia (green-blind)
#172C51
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #182f52; /* rgb */ color: rgb(24, 47, 82); /* oklch */ color: oklch(30.6% 0.070 258.6);
Tailwind
colors: {
custom: {
50: '#5c6783',
500: '#182f52',
950: '#000000',
},
}SCSS
$custom: #182f52; $custom-light: #5c6783; $custom-dark: #000000;
JSON
{
"hex": "#182f52",
"rgb": {
"r": 24,
"g": 47,
"b": 82
},
"hsl": {
"h": 216.207,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.30608,
"c": 0.06984,
"h": 258.6
},
"luminance": 0.02836
}Semantic roles & 50–950 ramp
primary
#182F52
secondary
#896B3D
accent
#A34ADE
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C