#181B80#181B80
#181B80 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.163 H 270.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #181B80 |
|---|---|
| RGB | rgb(24, 27, 128) |
| HSL | hsl(238, 68%, 30%) |
| HSV | hsv(238, 81%, 50%) |
| CMYK | cmyk(81.3%, 78.9%, 0%, 49.8%) |
| CIE-LAB | lab(18.08, 36.15, -56.17) |
| CIE-LCH | lch(18.08, 66.80, 302.76°) |
| OKLab | oklab(30.92% 0.0018 -0.1627) |
| OKLCH | oklch(30.92% 0.163 270.6) |
| XYZ | xyz(4.6636, 2.5360, 20.6616) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.53
Royal
#0C1793
ΔE00 2.96
Dark Royal Blue
#02066F
ΔE00 4.86
Darkblue
#00008B
ΔE00 4.93
Navy
#000080
ΔE00 4.95
Deep Blue
#040273
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B80 #807D18
analogous
#184F80 #181B80 #491880
triadic
#181B80 #80181B #1B8018
tetradic
#181B80 #80184F #807D18 #188049
square
#181B80 #80184F #807D18 #188049
split-complementary
#181B80 #804918 #4F8018
monochromatic
#05051A #0E104C #181B80 #2226B4 #393DDA
Accessibility & contrast
On white
13.93
#181B80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#181B80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B80
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B80 | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181b80; /* rgb */ color: rgb(24, 27, 128); /* oklch */ color: oklch(30.9% 0.163 270.6);
Tailwind
colors: {
custom: {
50: '#6a59a6',
500: '#181b80',
950: '#000000',
},
}SCSS
$custom: #181b80; $custom-light: #6a59a6; $custom-dark: #000000;
JSON
{
"hex": "#181b80",
"rgb": {
"r": 24,
"g": 27,
"b": 128
},
"hsl": {
"h": 238.269,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.30918,
"c": 0.16267,
"h": 270.6
},
"luminance": 0.02537
}Semantic roles & 50–950 ramp
primary
#181B80
secondary
#B4B140
accent
#E63DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F