#182F58#182F58
#182F58 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.079 H 261.0°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #182F58 |
|---|---|
| RGB | rgb(24, 47, 88) |
| HSL | hsl(218, 57%, 22%) |
| HSV | hsv(218, 73%, 35%) |
| CMYK | cmyk(72.7%, 46.6%, 0%, 65.5%) |
| CIE-LAB | lab(19.77, 6.50, -27.44) |
| CIE-LCH | lch(19.77, 28.20, 283.33°) |
| OKLab | oklab(31.04% -0.0124 -0.0784) |
| OKLCH | oklch(31.04% 0.079 261) |
| XYZ | xyz(3.1540, 2.9315, 9.6302) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.51
Navy Blue
#1B2A4A
ΔE00 3.14
Marine Blue
#01386A
ΔE00 4.98
Twilight Blue
#0A437A
ΔE00 8.16
Darkish Blue
#014182
ΔE00 8.20
Navy (survey)
#01153E
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182F58 #584118
analogous
#184F58 #182F58 #211858
triadic
#182F58 #58182F #2F5818
tetradic
#182F58 #58184F #584118 #185821
square
#182F58 #58184F #584118 #185821
split-complementary
#182F58 #582118 #4F5818
monochromatic
#070D18 #0B1528 #182F58 #254988 #3262B8
Accessibility & contrast
On white
13.24
#182F58 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#182F58 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182F58
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182F58 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182F58 | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C335A
Deuteranopia (green-blind)
#112D57
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #182f58; /* rgb */ color: rgb(24, 47, 88); /* oklch */ color: oklch(31.0% 0.079 261.0);
Tailwind
colors: {
custom: {
50: '#5d6787',
500: '#182f58',
950: '#000000',
},
}SCSS
$custom: #182f58; $custom-light: #5d6787; $custom-dark: #000000;
JSON
{
"hex": "#182f58",
"rgb": {
"r": 24,
"g": 47,
"b": 88
},
"hsl": {
"h": 218.438,
"s": 57.143,
"l": 21.961
},
"oklch": {
"l": 0.31039,
"c": 0.07933,
"h": 261
},
"luminance": 0.02932
}Semantic roles & 50–950 ramp
primary
#182F58
secondary
#8F713D
accent
#A947E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C