#182872#182872
#182872 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.129 H 268.4°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #182872 |
|---|---|
| RGB | rgb(24, 40, 114) |
| HSL | hsl(229, 65%, 27%) |
| HSV | hsv(229, 79%, 45%) |
| CMYK | cmyk(78.9%, 64.9%, 0%, 55.3%) |
| CIE-LAB | lab(19.75, 22.29, -44.48) |
| CIE-LCH | lch(19.75, 49.76, 296.62°) |
| OKLab | oklab(31.68% -0.0035 -0.1286) |
| OKLCH | oklch(31.68% 0.129 268.4) |
| XYZ | xyz(4.1717, 2.9262, 16.2613) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.76
Marine
#042E60
ΔE00 5.81
Royal
#0C1793
ΔE00 7.56
Marine Blue
#01386A
ΔE00 8.03
Navy Blue
#1B2A4A
ΔE00 8.22
Darkblue (survey)
#030764
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182872 #726218
analogous
#185572 #182872 #351872
triadic
#182872 #721828 #287218
tetradic
#182872 #721855 #726218 #187235
square
#182872 #721855 #726218 #187235
split-complementary
#182872 #723518 #557218
monochromatic
#050919 #0D163F #182872 #233AA5 #314ED4
Accessibility & contrast
On white
13.25
#182872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#182872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182872
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182872 | 1.00 | 13.25 | 1.59 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #182872; /* rgb */ color: rgb(24, 40, 114); /* oklch */ color: oklch(31.7% 0.129 268.4);
Tailwind
colors: {
custom: {
50: '#64619b',
500: '#182872',
950: '#000000',
},
}SCSS
$custom: #182872; $custom-light: #64619b; $custom-dark: #000000;
JSON
{
"hex": "#182872",
"rgb": {
"r": 24,
"g": 40,
"b": 114
},
"hsl": {
"h": 229.333,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.3168,
"c": 0.12861,
"h": 268.4
},
"luminance": 0.02927
}Semantic roles & 50–950 ramp
primary
#182872
secondary
#A7953E
accent
#CA40E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E