#181F75#181F75
#181F75 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.3% C 0.144 H 270.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #181F75 |
|---|---|
| RGB | rgb(24, 31, 117) |
| HSL | hsl(235, 66%, 28%) |
| HSV | hsv(235, 79%, 46%) |
| CMYK | cmyk(79.5%, 73.5%, 0%, 54.1%) |
| CIE-LAB | lab(17.73, 29.64, -49.72) |
| CIE-LCH | lch(17.73, 57.89, 300.80°) |
| OKLab | oklab(30.3% 0.0018 -0.1439) |
| OKLCH | oklch(30.3% 0.144 270.7) |
| XYZ | xyz(4.0765, 2.4581, 17.0858) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.76
Royal
#0C1793
ΔE00 5.18
Dark Royal Blue
#02066F
ΔE00 5.66
Darkblue (survey)
#030764
ΔE00 5.90
Deep Blue
#040273
ΔE00 6.30
Navy
#000080
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181F75 #756E18
analogous
#184D75 #181F75 #401875
triadic
#181F75 #75181F #1F7518
tetradic
#181F75 #75184D #756E18 #187540
square
#181F75 #75184D #756E18 #187540
split-complementary
#181F75 #754018 #4D7518
monochromatic
#050719 #0E1242 #181F75 #222CA8 #323FD5
Accessibility & contrast
On white
14.08
#181F75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#181F75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181F75
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181F75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181F75 | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002773
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #181f75; /* rgb */ color: rgb(24, 31, 117); /* oklch */ color: oklch(30.3% 0.144 270.7);
Tailwind
colors: {
custom: {
50: '#665b9e',
500: '#181f75',
950: '#000000',
},
}SCSS
$custom: #181f75; $custom-light: #665b9e; $custom-dark: #000000;
JSON
{
"hex": "#181f75",
"rgb": {
"r": 24,
"g": 31,
"b": 117
},
"hsl": {
"h": 235.484,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.30299,
"c": 0.14395,
"h": 270.7
},
"luminance": 0.02459
}Semantic roles & 50–950 ramp
primary
#181F75
secondary
#AAA23F
accent
#DC3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E