#1B1478#1B1478
#1B1478 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.158 H 273.6°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1478 |
|---|---|
| RGB | rgb(27, 20, 120) |
| HSL | hsl(244, 71%, 27%) |
| HSV | hsv(244, 83%, 47%) |
| CMYK | cmyk(77.5%, 83.3%, 0%, 52.9%) |
| CIE-LAB | lab(15.95, 37.52, -54.59) |
| CIE-LCH | lch(15.95, 66.24, 304.50°) |
| OKLab | oklab(29.19% 0.0099 -0.1579) |
| OKLCH | oklch(29.19% 0.158 273.6) |
| XYZ | xyz(4.0912, 2.0890, 17.9533) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.04
Dark Royal Blue
#02066F
ΔE00 3.18
Deep Blue
#040273
ΔE00 3.51
Navy
#000080
ΔE00 3.77
Royal
#0C1793
ΔE00 4.01
Darkblue (survey)
#030764
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1478 #717814
analogous
#143F78 #1B1478 #4D1478
triadic
#1B1478 #781B14 #14781B
tetradic
#1B1478 #78143F #717814 #14784D
square
#1B1478 #78143F #717814 #14784D
split-complementary
#1B1478 #784D14 #3F7814
monochromatic
#06041A #0F0B44 #1B1478 #271DAC #372BDC
Accessibility & contrast
On white
14.81
#1B1478 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#1B1478 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1478
14.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1478 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1478 | 1.00 | 14.81 | 1.42 | 14.81 |
| #FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7B
Deuteranopia (green-blind)
#002376
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #1b1478; /* rgb */ color: rgb(27, 20, 120); /* oklch */ color: oklch(29.2% 0.158 273.6);
Tailwind
colors: {
custom: {
50: '#6954a0',
500: '#1b1478',
950: '#000000',
},
}SCSS
$custom: #1b1478; $custom-light: #6954a0; $custom-dark: #000000;
JSON
{
"hex": "#1b1478",
"rgb": {
"r": 27,
"g": 20,
"b": 120
},
"hsl": {
"h": 244.2,
"s": 71.429,
"l": 27.451
},
"oklch": {
"l": 0.2919,
"c": 0.15823,
"h": 273.6
},
"luminance": 0.02089
}Semantic roles & 50–950 ramp
primary
#1B1478
secondary
#A6AE3A
accent
#EE3AE2
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F