#181973#181973
#181973 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.148 H 272.0°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #181973 |
|---|---|
| RGB | rgb(24, 25, 115) |
| HSL | hsl(239, 65%, 27%) |
| HSV | hsv(239, 79%, 45%) |
| CMYK | cmyk(79.1%, 78.3%, 0%, 54.9%) |
| CIE-LAB | lab(16.14, 32.71, -51.06) |
| CIE-LCH | lch(16.14, 60.63, 302.64°) |
| OKLab | oklab(29.1% 0.0051 -0.1478) |
| OKLCH | oklch(29.1% 0.148 272) |
| XYZ | xyz(3.8178, 2.1268, 16.4256) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.51
Dark Royal Blue
#02066F
ΔE00 4.07
Darkblue (survey)
#030764
ΔE00 4.40
Deep Blue
#040273
ΔE00 4.70
Royal
#0C1793
ΔE00 4.86
Navy
#000080
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181973 #737218
analogous
#184673 #181973 #451873
triadic
#181973 #731819 #197318
tetradic
#181973 #731846 #737218 #187345
square
#181973 #731846 #737218 #187345
split-complementary
#181973 #734518 #467318
monochromatic
#050619 #0D0E40 #181973 #2324A6 #3133D4
Accessibility & contrast
On white
14.73
#181973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#181973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181973
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181973 | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181973; /* rgb */ color: rgb(24, 25, 115); /* oklch */ color: oklch(29.1% 0.148 272.0);
Tailwind
colors: {
custom: {
50: '#66579c',
500: '#181973',
950: '#000000',
},
}SCSS
$custom: #181973; $custom-light: #66579c; $custom-dark: #000000;
JSON
{
"hex": "#181973",
"rgb": {
"r": 24,
"g": 25,
"b": 115
},
"hsl": {
"h": 239.341,
"s": 65.468,
"l": 27.255
},
"oklch": {
"l": 0.29097,
"c": 0.14788,
"h": 272
},
"luminance": 0.02127
}Semantic roles & 50–950 ramp
primary
#181973
secondary
#A8A73F
accent
#E73FE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E