#1B1474#1B1474
#1B1474 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.153 H 274.1°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1474 |
|---|---|
| RGB | rgb(27, 20, 116) |
| HSL | hsl(244, 71%, 27%) |
| HSV | hsv(244, 83%, 45%) |
| CMYK | cmyk(76.7%, 82.8%, 0%, 54.5%) |
| CIE-LAB | lab(15.46, 36.19, -52.83) |
| CIE-LCH | lch(15.46, 64.03, 304.41°) |
| OKLab | oklab(28.7% 0.011 -0.1528) |
| OKLCH | oklch(28.7% 0.153 274.1) |
| XYZ | xyz(3.8535, 1.9939, 16.7014) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.63
Dark Royal Blue
#02066F
ΔE00 3.05
Deep Blue
#040273
ΔE00 3.52
Darkblue (survey)
#030764
ΔE00 3.70
Navy
#000080
ΔE00 4.09
Royal
#0C1793
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1474 #6D7414
analogous
#143D74 #1B1474 #4B1474
triadic
#1B1474 #741B14 #14741B
tetradic
#1B1474 #74143D #6D7414 #14744B
square
#1B1474 #74143D #6D7414 #14744B
split-complementary
#1B1474 #744B14 #3D7414
monochromatic
#06051A #0F0B40 #1B1474 #271DA8 #3528DA
Accessibility & contrast
On white
15.01
#1B1474 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#1B1474 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1474
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1474 | 1.00 | 15.01 | 1.40 | 15.01 |
| #FFFFFF | 15.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #1b1474; /* rgb */ color: rgb(27, 20, 116); /* oklch */ color: oklch(28.7% 0.153 274.1);
Tailwind
colors: {
custom: {
50: '#68549d',
500: '#1b1474',
950: '#000000',
},
}SCSS
$custom: #1b1474; $custom-light: #68549d; $custom-dark: #000000;
JSON
{
"hex": "#1b1474",
"rgb": {
"r": 27,
"g": 20,
"b": 116
},
"hsl": {
"h": 244.375,
"s": 70.588,
"l": 26.667
},
"oklch": {
"l": 0.28704,
"c": 0.15319,
"h": 274.1
},
"luminance": 0.01994
}Semantic roles & 50–950 ramp
primary
#1B1474
secondary
#A2AA3A
accent
#ED3AE0
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E