#1B1880#1B1880
#1B1880 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 272.2°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1880 |
|---|---|
| RGB | rgb(27, 24, 128) |
| HSL | hsl(242, 68%, 30%) |
| HSV | hsv(242, 81%, 50%) |
| CMYK | cmyk(78.9%, 81.3%, 0%, 49.8%) |
| CIE-LAB | lab(17.66, 38.07, -56.85) |
| CIE-LCH | lch(17.66, 68.42, 303.81°) |
| OKLab | oklab(30.67% 0.0065 -0.1645) |
| OKLCH | oklch(30.67% 0.165 272.2) |
| XYZ | xyz(4.6736, 2.4443, 20.6434) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.67
Royal
#0C1793
ΔE00 2.81
Darkblue
#00008B
ΔE00 4.27
Navy
#000080
ΔE00 4.27
Dark Royal Blue
#02066F
ΔE00 4.35
Deep Blue
#040273
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1880 #7D8018
analogous
#184980 #1B1880 #4F1880
triadic
#1B1880 #801B18 #18801B
tetradic
#1B1880 #801849 #7D8018 #18804F
square
#1B1880 #801849 #7D8018 #18804F
split-complementary
#1B1880 #804F18 #498018
monochromatic
#05051A #100E4C #1B1880 #2622B4 #3D39DA
Accessibility & contrast
On white
14.10
#1B1880 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1B1880 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1880
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1880 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1880 | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1b1880; /* rgb */ color: rgb(27, 24, 128); /* oklch */ color: oklch(30.7% 0.165 272.2);
Tailwind
colors: {
custom: {
50: '#6b57a6',
500: '#1b1880',
950: '#000000',
},
}SCSS
$custom: #1b1880; $custom-light: #6b57a6; $custom-dark: #000000;
JSON
{
"hex": "#1b1880",
"rgb": {
"r": 27,
"g": 24,
"b": 128
},
"hsl": {
"h": 241.731,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.30674,
"c": 0.16468,
"h": 272.2
},
"luminance": 0.02445
}Semantic roles & 50–950 ramp
primary
#1B1880
secondary
#B1B440
accent
#EB3DE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F