#182974#182974
#182974 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.130 H 268.1°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #182974 |
|---|---|
| RGB | rgb(24, 41, 116) |
| HSL | hsl(229, 66%, 27%) |
| HSV | hsv(229, 79%, 45%) |
| CMYK | cmyk(79.3%, 64.7%, 0%, 54.5%) |
| CIE-LAB | lab(20.21, 22.39, -45.01) |
| CIE-LCH | lch(20.21, 50.28, 296.45°) |
| OKLab | oklab(32.08% -0.0043 -0.1301) |
| OKLCH | oklch(32.08% 0.13 268.1) |
| XYZ | xyz(4.3209, 3.0405, 16.8788) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Marine
#042E60
ΔE00 5.78
Royal
#0C1793
ΔE00 7.51
Marine Blue
#01386A
ΔE00 7.83
Navy Blue
#1B2A4A
ΔE00 8.38
Darkslateblue
#483D8B
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182974 #746318
analogous
#185774 #182974 #351874
triadic
#182974 #741829 #297418
tetradic
#182974 #741857 #746318 #187435
square
#182974 #741857 #746318 #187435
split-complementary
#182974 #743518 #577418
monochromatic
#050919 #0E1741 #182974 #223BA7 #3250D5
Accessibility & contrast
On white
13.06
#182974 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#182974 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182974
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182974 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182974 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #182974; /* rgb */ color: rgb(24, 41, 116); /* oklch */ color: oklch(32.1% 0.130 268.1);
Tailwind
colors: {
custom: {
50: '#65629d',
500: '#182974',
950: '#000000',
},
}SCSS
$custom: #182974; $custom-light: #65629d; $custom-dark: #000000;
JSON
{
"hex": "#182974",
"rgb": {
"r": 24,
"g": 41,
"b": 116
},
"hsl": {
"h": 228.913,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.32078,
"c": 0.13019,
"h": 268.1
},
"luminance": 0.03041
}Semantic roles & 50–950 ramp
primary
#182974
secondary
#A9963F
accent
#C93FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E