#1B1978#1B1978
#1B1978 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.154 H 272.9°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1978 |
|---|---|
| RGB | rgb(27, 25, 120) |
| HSL | hsl(241, 66%, 28%) |
| HSV | hsv(241, 79%, 47%) |
| CMYK | cmyk(77.5%, 79.2%, 0%, 52.9%) |
| CIE-LAB | lab(16.91, 34.75, -52.99) |
| CIE-LCH | lch(16.91, 63.37, 303.25°) |
| OKLab | oklab(29.87% 0.0078 -0.1533) |
| OKLCH | oklch(29.87% 0.154 272.9) |
| XYZ | xyz(4.1887, 2.2839, 17.9857) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.35
Royal
#0C1793
ΔE00 4.08
Dark Royal Blue
#02066F
ΔE00 4.13
Deep Blue
#040273
ΔE00 4.59
Darkblue (survey)
#030764
ΔE00 4.78
Navy
#000080
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1978 #767819
analogous
#194678 #1B1978 #4A1978
triadic
#1B1978 #781B19 #19781B
tetradic
#1B1978 #781946 #767819 #19784A
square
#1B1978 #781946 #767819 #19784A
split-complementary
#1B1978 #784A19 #467819
monochromatic
#060519 #100E45 #1B1978 #2624AB #3A36D5
Accessibility & contrast
On white
14.42
#1B1978 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1B1978 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1978
14.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1978 | 1.00 | 14.42 | 1.46 | 14.42 |
| #FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1b1978; /* rgb */ color: rgb(27, 25, 120); /* oklch */ color: oklch(29.9% 0.154 272.9);
Tailwind
colors: {
custom: {
50: '#6957a0',
500: '#1b1978',
950: '#000000',
},
}SCSS
$custom: #1b1978; $custom-light: #6957a0; $custom-dark: #000000;
JSON
{
"hex": "#1b1978",
"rgb": {
"r": 27,
"g": 25,
"b": 120
},
"hsl": {
"h": 241.263,
"s": 65.517,
"l": 28.431
},
"oklch": {
"l": 0.29866,
"c": 0.15355,
"h": 272.9
},
"luminance": 0.02284
}Semantic roles & 50–950 ramp
primary
#1B1978
secondary
#AAAD40
accent
#E83FE5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F