#181B75#181B75
#181B75 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.148 H 271.5°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #181B75 |
|---|---|
| RGB | rgb(24, 27, 117) |
| HSL | hsl(238, 66%, 28%) |
| HSV | hsv(238, 79%, 46%) |
| CMYK | cmyk(79.5%, 76.9%, 0%, 54.1%) |
| CIE-LAB | lab(16.81, 32.20, -51.24) |
| CIE-LCH | lch(16.81, 60.52, 302.14°) |
| OKLab | oklab(29.64% 0.0038 -0.1483) |
| OKLCH | oklch(29.64% 0.148 271.5) |
| XYZ | xyz(3.9784, 2.2620, 17.0531) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.90
Dark Royal Blue
#02066F
ΔE00 4.56
Royal
#0C1793
ΔE00 4.69
Darkblue (survey)
#030764
ΔE00 4.94
Deep Blue
#040273
ΔE00 5.16
Navy
#000080
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B75 #757218
analogous
#184975 #181B75 #441875
triadic
#181B75 #75181B #1B7518
tetradic
#181B75 #751849 #757218 #187544
square
#181B75 #751849 #757218 #187544
split-complementary
#181B75 #754418 #497518
monochromatic
#050619 #0E0F42 #181B75 #2227A8 #3238D5
Accessibility & contrast
On white
14.46
#181B75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#181B75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B75
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B75 | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002573
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181b75; /* rgb */ color: rgb(24, 27, 117); /* oklch */ color: oklch(29.6% 0.148 271.5);
Tailwind
colors: {
custom: {
50: '#67589e',
500: '#181b75',
950: '#000000',
},
}SCSS
$custom: #181b75; $custom-light: #67589e; $custom-dark: #000000;
JSON
{
"hex": "#181b75",
"rgb": {
"r": 24,
"g": 27,
"b": 117
},
"hsl": {
"h": 238.065,
"s": 65.957,
"l": 27.647
},
"oklch": {
"l": 0.29639,
"c": 0.1484,
"h": 271.5
},
"luminance": 0.02262
}Semantic roles & 50–950 ramp
primary
#181B75
secondary
#AAA73F
accent
#E33FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E