#1B1976#1B1976
#1B1976 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.151 H 273.1°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1976 |
|---|---|
| RGB | rgb(27, 25, 118) |
| HSL | hsl(241, 65%, 28%) |
| HSV | hsv(241, 79%, 46%) |
| CMYK | cmyk(77.1%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(16.68, 34.05, -52.09) |
| CIE-LCH | lch(16.68, 62.23, 303.17°) |
| OKLab | oklab(29.63% 0.0083 -0.1507) |
| OKLCH | oklch(29.63% 0.151 273.1) |
| XYZ | xyz(4.0685, 2.2359, 17.3532) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.03
Dark Royal Blue
#02066F
ΔE00 4.10
Royal
#0C1793
ΔE00 4.40
Deep Blue
#040273
ΔE00 4.62
Darkblue (survey)
#030764
ΔE00 4.63
Navy
#000080
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1976 #747619
analogous
#194576 #1B1976 #491976
triadic
#1B1976 #761B19 #19761B
tetradic
#1B1976 #761945 #747619 #197649
square
#1B1976 #761945 #747619 #197649
split-complementary
#1B1976 #764919 #457619
monochromatic
#060519 #0F0E43 #1B1976 #2724A8 #3935D4
Accessibility & contrast
On white
14.51
#1B1976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B1976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1976
14.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1976 | 1.00 | 14.51 | 1.45 | 14.51 |
| #FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b1976; /* rgb */ color: rgb(27, 25, 118); /* oklch */ color: oklch(29.6% 0.151 273.1);
Tailwind
colors: {
custom: {
50: '#68579f',
500: '#1b1976',
950: '#000000',
},
}SCSS
$custom: #1b1976; $custom-light: #68579f; $custom-dark: #000000;
JSON
{
"hex": "#1b1976",
"rgb": {
"r": 27,
"g": 25,
"b": 118
},
"hsl": {
"h": 241.29,
"s": 65.035,
"l": 28.039
},
"oklch": {
"l": 0.29633,
"c": 0.15096,
"h": 273.1
},
"luminance": 0.02236
}Semantic roles & 50–950 ramp
primary
#1B1976
secondary
#A9AB40
accent
#E840E4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E