#182873#182873
#182873 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.130 H 268.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #182873 |
|---|---|
| RGB | rgb(24, 40, 115) |
| HSL | hsl(229, 65%, 27%) |
| HSV | hsv(229, 79%, 45%) |
| CMYK | cmyk(79.1%, 65.2%, 0%, 54.9%) |
| CIE-LAB | lab(19.84, 22.70, -44.97) |
| CIE-LCH | lch(19.84, 50.37, 296.78°) |
| OKLab | oklab(31.78% -0.0036 -0.13) |
| OKLCH | oklch(31.78% 0.13 268.4) |
| XYZ | xyz(4.2289, 2.9491, 16.5627) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.70
Marine
#042E60
ΔE00 5.93
Royal
#0C1793
ΔE00 7.40
Marine Blue
#01386A
ΔE00 8.09
Navy Blue
#1B2A4A
ΔE00 8.37
Darkblue (survey)
#030764
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182873 #736318
analogous
#185573 #182873 #361873
triadic
#182873 #731828 #287318
tetradic
#182873 #731855 #736318 #187336
square
#182873 #731855 #736318 #187336
split-complementary
#182873 #733618 #557318
monochromatic
#050919 #0D1640 #182873 #233AA6 #314ED4
Accessibility & contrast
On white
13.21
#182873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#182873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182873
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182873 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #182873; /* rgb */ color: rgb(24, 40, 115); /* oklch */ color: oklch(31.8% 0.130 268.4);
Tailwind
colors: {
custom: {
50: '#65619c',
500: '#182873',
950: '#000000',
},
}SCSS
$custom: #182873; $custom-light: #65619c; $custom-dark: #000000;
JSON
{
"hex": "#182873",
"rgb": {
"r": 24,
"g": 40,
"b": 115
},
"hsl": {
"h": 229.451,
"s": 65.468,
"l": 27.255
},
"oklch": {
"l": 0.31778,
"c": 0.13005,
"h": 268.4
},
"luminance": 0.0295
}Semantic roles & 50–950 ramp
primary
#182873
secondary
#A8963F
accent
#CB3FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E