#181B79#181B79
#181B79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.154 H 271.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #181B79 |
|---|---|
| RGB | rgb(24, 27, 121) |
| HSL | hsl(238, 67%, 28%) |
| HSV | hsv(238, 80%, 47%) |
| CMYK | cmyk(80.2%, 77.7%, 0%, 52.5%) |
| CIE-LAB | lab(17.26, 33.65, -53.06) |
| CIE-LCH | lch(17.26, 62.83, 302.38°) |
| OKLab | oklab(30.1% 0.0031 -0.1536) |
| OKLCH | oklch(30.1% 0.154 271.1) |
| XYZ | xyz(4.2186, 2.3581, 18.3183) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.47
Royal
#0C1793
ΔE00 4.04
Dark Royal Blue
#02066F
ΔE00 4.58
Deep Blue
#040273
ΔE00 5.08
Darkblue (survey)
#030764
ΔE00 5.18
Navy
#000080
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B79 #797618
analogous
#184B79 #181B79 #451879
triadic
#181B79 #79181B #1B7918
tetradic
#181B79 #79184B #797618 #187945
square
#181B79 #79184B #797618 #187945
split-complementary
#181B79 #794518 #4B7918
monochromatic
#05061A #0E1046 #181B79 #2226AC #353AD7
Accessibility & contrast
On white
14.27
#181B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#181B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B79
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B79 | 1.00 | 14.27 | 1.47 | 14.27 |
| #FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181b79; /* rgb */ color: rgb(24, 27, 121); /* oklch */ color: oklch(30.1% 0.154 271.1);
Tailwind
colors: {
custom: {
50: '#6858a1',
500: '#181b79',
950: '#000000',
},
}SCSS
$custom: #181b79; $custom-light: #6858a1; $custom-dark: #000000;
JSON
{
"hex": "#181b79",
"rgb": {
"r": 24,
"g": 27,
"b": 121
},
"hsl": {
"h": 238.144,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.301,
"c": 0.15366,
"h": 271.1
},
"luminance": 0.02359
}Semantic roles & 50–950 ramp
primary
#181B79
secondary
#AEAA3F
accent
#E43EEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F