#182F5F#182F5F
#182F5F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.090 H 263.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).
Color values
| HEX | #182F5F |
|---|---|
| RGB | rgb(24, 47, 95) |
| HSL | hsl(221, 60%, 23%) |
| HSV | hsv(221, 75%, 37%) |
| CMYK | cmyk(74.7%, 50.5%, 0%, 62.7%) |
| CIE-LAB | lab(20.26, 9.41, -31.29) |
| CIE-LCH | lch(20.26, 32.67, 286.73°) |
| OKLab | oklab(31.57% -0.011 -0.0897) |
| OKLCH | oklch(31.57% 0.09 263) |
| XYZ | xyz(3.4580, 3.0531, 11.2313) |
| Luminance | 0.0305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.21
Navy Blue
#1B2A4A
ΔE00 4.34
Marine Blue
#01386A
ΔE00 4.91
Darkish Blue
#014182
ΔE00 7.76
Twilight Blue
#0A437A
ΔE00 7.96
Navy (survey)
#01153E
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F5F #5F4818
analogous
#18525F #182F5F #24185F
triadic
#182F5F #5F182F #2F5F18
tetradic
#182F5F #5F1852 #5F4818 #185F24
square
#182F5F #5F1852 #5F4818 #185F24
split-complementary
#182F5F #5F2418 #525F18
monochromatic
#060C18 #0C172E #182F5F #244790 #315FC1
Accessibility & contrast
On white
13.04
#182F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#182F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F5F
13.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F5F | 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)
#163461
Deuteranopia (green-blind)
#062E5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #182f5f; /* rgb */ color: rgb(24, 47, 95); /* oklch */ color: oklch(31.6% 0.090 263.0);
Tailwind
colors: {
custom: {
50: '#5f678d',
500: '#182f5f',
950: '#000000',
},
}SCSS
$custom: #182f5f; $custom-light: #5f678d; $custom-dark: #000000;
JSON
{
"hex": "#182f5f",
"rgb": {
"r": 24,
"g": 47,
"b": 95
},
"hsl": {
"h": 220.563,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.31572,
"c": 0.09034,
"h": 263
},
"luminance": 0.03053
}Semantic roles & 50–950 ramp
primary
#182F5F
secondary
#95793D
accent
#B045E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D