#181B70#181B70
#181B70 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.142 H 271.9°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).
Color values
| HEX | #181B70 |
|---|---|
| RGB | rgb(24, 27, 112) |
| HSL | hsl(238, 65%, 27%) |
| HSV | hsv(238, 79%, 44%) |
| CMYK | cmyk(78.6%, 75.9%, 0%, 56.1%) |
| CIE-LAB | lab(16.24, 30.36, -48.94) |
| CIE-LCH | lch(16.24, 57.59, 301.81°) |
| OKLab | oklab(29.07% 0.0047 -0.1416) |
| OKLCH | oklch(29.07% 0.142 271.9) |
| XYZ | xyz(3.6923, 2.1475, 15.5460) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.62
Dark Royal Blue
#02066F
ΔE00 4.69
Darkblue (survey)
#030764
ΔE00 4.76
Deep Blue
#040273
ΔE00 5.40
Royal
#0C1793
ΔE00 5.52
Navy
#000080
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B70 #706D18
analogous
#184770 #181B70 #411870
triadic
#181B70 #70181B #1B7018
tetradic
#181B70 #701847 #706D18 #187041
square
#181B70 #701847 #706D18 #187041
split-complementary
#181B70 #704118 #477018
monochromatic
#050619 #0D0F3E #181B70 #2327A2 #3035D3
Accessibility & contrast
On white
14.69
#181B70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#181B70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B70
14.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B70 | 1.00 | 14.69 | 1.43 | 14.69 |
| #FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#003343
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181b70; /* rgb */ color: rgb(24, 27, 112); /* oklch */ color: oklch(29.1% 0.142 271.9);
Tailwind
colors: {
custom: {
50: '#65589a',
500: '#181b70',
950: '#000000',
},
}SCSS
$custom: #181b70; $custom-light: #65589a; $custom-dark: #000000;
JSON
{
"hex": "#181b70",
"rgb": {
"r": 24,
"g": 27,
"b": 112
},
"hsl": {
"h": 237.955,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.2907,
"c": 0.14173,
"h": 271.9
},
"luminance": 0.02148
}Semantic roles & 50–950 ramp
primary
#181B70
secondary
#A5A23E
accent
#E240E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E