#181F79#181F79
#181F79 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.7% C 0.149 H 270.5°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #181F79 |
|---|---|
| RGB | rgb(24, 31, 121) |
| HSL | hsl(236, 67%, 28%) |
| HSV | hsv(236, 80%, 47%) |
| CMYK | cmyk(80.2%, 74.4%, 0%, 52.5%) |
| CIE-LAB | lab(18.16, 31.14, -51.57) |
| CIE-LCH | lch(18.16, 60.25, 301.12°) |
| OKLab | oklab(30.74% 0.0013 -0.1493) |
| OKLCH | oklch(30.74% 0.149 270.5) |
| XYZ | xyz(4.3167, 2.5542, 18.3510) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.99
Royal
#0C1793
ΔE00 4.54
Dark Royal Blue
#02066F
ΔE00 5.61
Darkblue (survey)
#030764
ΔE00 6.06
Deep Blue
#040273
ΔE00 6.16
Navy
#000080
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181F79 #797218
analogous
#184F79 #181F79 #411879
triadic
#181F79 #79181F #1F7918
tetradic
#181F79 #79184F #797218 #187941
square
#181F79 #79184F #797218 #187941
split-complementary
#181F79 #794118 #4F7918
monochromatic
#05071A #0E1246 #181F79 #222CAC #3540D7
Accessibility & contrast
On white
13.90
#181F79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#181F79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181F79
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181F79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181F79 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181f79; /* rgb */ color: rgb(24, 31, 121); /* oklch */ color: oklch(30.7% 0.149 270.5);
Tailwind
colors: {
custom: {
50: '#675ba1',
500: '#181f79',
950: '#000000',
},
}SCSS
$custom: #181f79; $custom-light: #675ba1; $custom-dark: #000000;
JSON
{
"hex": "#181f79",
"rgb": {
"r": 24,
"g": 31,
"b": 121
},
"hsl": {
"h": 235.67,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.3074,
"c": 0.14935,
"h": 270.5
},
"luminance": 0.02555
}Semantic roles & 50–950 ramp
primary
#181F79
secondary
#AEA63F
accent
#DD3EEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F