#182F54#182F54
#182F54 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.7% C 0.073 H 259.5°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).
Color values
| HEX | #182F54 |
|---|---|
| RGB | rgb(24, 47, 84) |
| HSL | hsl(217, 56%, 21%) |
| HSV | hsv(217, 71%, 33%) |
| CMYK | cmyk(71.4%, 44%, 0%, 67.1%) |
| CIE-LAB | lab(19.50, 4.86, -25.20) |
| CIE-LCH | lch(19.50, 25.66, 280.91°) |
| OKLab | oklab(30.75% -0.0133 -0.0718) |
| OKLCH | oklch(30.75% 0.073 259.5) |
| XYZ | xyz(2.9929, 2.8670, 8.7815) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.64
Marine
#042E60
ΔE00 2.98
Marine Blue
#01386A
ΔE00 5.12
Twilight Blue
#0A437A
ΔE00 8.31
Navy (survey)
#01153E
ΔE00 8.35
Darkish Blue
#014182
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F54 #543D18
analogous
#184D54 #182F54 #1F1854
triadic
#182F54 #54182F #2F5418
tetradic
#182F54 #54184D #543D18 #18541F
square
#182F54 #54184D #543D18 #18541F
split-complementary
#182F54 #541F18 #4D5418
monochromatic
#070D18 #0A1424 #182F54 #264A84 #3364B3
Accessibility & contrast
On white
13.35
#182F54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#182F54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F54
13.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F54 | 1.00 | 13.35 | 1.57 | 13.35 |
| #FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3255
Deuteranopia (green-blind)
#152D53
Tritanopia (blue-blind)
#00373D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #182f54; /* rgb */ color: rgb(24, 47, 84); /* oklch */ color: oklch(30.7% 0.073 259.5);
Tailwind
colors: {
custom: {
50: '#5c6784',
500: '#182f54',
950: '#000000',
},
}SCSS
$custom: #182f54; $custom-light: #5c6784; $custom-dark: #000000;
JSON
{
"hex": "#182f54",
"rgb": {
"r": 24,
"g": 47,
"b": 84
},
"hsl": {
"h": 217,
"s": 55.556,
"l": 21.176
},
"oklch": {
"l": 0.30749,
"c": 0.07301,
"h": 259.5
},
"luminance": 0.02867
}Semantic roles & 50–950 ramp
primary
#182F54
secondary
#8B6D3D
accent
#A549DF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C