#1B1879#1B1879
#1B1879 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.156 H 273.0°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1879 |
|---|---|
| RGB | rgb(27, 24, 121) |
| HSL | hsl(242, 67%, 28%) |
| HSV | hsv(242, 80%, 47%) |
| CMYK | cmyk(77.7%, 80.2%, 0%, 52.5%) |
| CIE-LAB | lab(16.83, 35.68, -53.77) |
| CIE-LCH | lch(16.83, 64.53, 303.56°) |
| OKLab | oklab(29.84% 0.0081 -0.1556) |
| OKLCH | oklch(29.84% 0.156 273) |
| XYZ | xyz(4.2287, 2.2663, 18.3000) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.60
Royal
#0C1793
ΔE00 3.88
Dark Royal Blue
#02066F
ΔE00 3.95
Deep Blue
#040273
ΔE00 4.36
Navy
#000080
ΔE00 4.55
Darkblue (survey)
#030764
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1879 #767918
analogous
#184579 #1B1879 #4B1879
triadic
#1B1879 #791B18 #18791B
tetradic
#1B1879 #791845 #767918 #18794B
square
#1B1879 #791845 #767918 #18794B
split-complementary
#1B1879 #794B18 #457918
monochromatic
#06051A #100E46 #1B1879 #2622AC #3A35D7
Accessibility & contrast
On white
14.45
#1B1879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B1879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1879
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1879 | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1b1879; /* rgb */ color: rgb(27, 24, 121); /* oklch */ color: oklch(29.8% 0.156 273.0);
Tailwind
colors: {
custom: {
50: '#6957a1',
500: '#1b1879',
950: '#000000',
},
}SCSS
$custom: #1b1879; $custom-light: #6957a1; $custom-dark: #000000;
JSON
{
"hex": "#1b1879",
"rgb": {
"r": 27,
"g": 24,
"b": 121
},
"hsl": {
"h": 241.856,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.29841,
"c": 0.15582,
"h": 273
},
"luminance": 0.02267
}Semantic roles & 50–950 ramp
primary
#1B1879
secondary
#AAAE3F
accent
#EA3EE4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F