#1B1977#1B1977
#1B1977 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.152 H 273.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1977 |
|---|---|
| RGB | rgb(27, 25, 119) |
| HSL | hsl(241, 65%, 28%) |
| HSV | hsv(241, 79%, 47%) |
| CMYK | cmyk(77.3%, 79%, 0%, 53.3%) |
| CIE-LAB | lab(16.80, 34.40, -52.54) |
| CIE-LCH | lch(16.80, 62.80, 303.21°) |
| OKLab | oklab(29.75% 0.0081 -0.152) |
| OKLCH | oklch(29.75% 0.152 273) |
| XYZ | xyz(4.1283, 2.2598, 17.6678) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.19
Dark Royal Blue
#02066F
ΔE00 4.11
Royal
#0C1793
ΔE00 4.24
Deep Blue
#040273
ΔE00 4.60
Darkblue (survey)
#030764
ΔE00 4.71
Navy
#000080
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1977 #757719
analogous
#194677 #1B1977 #4A1977
triadic
#1B1977 #771B19 #19771B
tetradic
#1B1977 #771946 #757719 #19774A
square
#1B1977 #771946 #757719 #19774A
split-complementary
#1B1977 #774A19 #467719
monochromatic
#060519 #100E44 #1B1977 #2624AA #3936D5
Accessibility & contrast
On white
14.46
#1B1977 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B1977 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1977
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1977 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1977 | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b1977; /* rgb */ color: rgb(27, 25, 119); /* oklch */ color: oklch(29.7% 0.152 273.0);
Tailwind
colors: {
custom: {
50: '#68579f',
500: '#1b1977',
950: '#000000',
},
}SCSS
$custom: #1b1977; $custom-light: #68579f; $custom-dark: #000000;
JSON
{
"hex": "#1b1977",
"rgb": {
"r": 27,
"g": 25,
"b": 119
},
"hsl": {
"h": 241.277,
"s": 65.278,
"l": 28.235
},
"oklch": {
"l": 0.29749,
"c": 0.15225,
"h": 273
},
"luminance": 0.0226
}Semantic roles & 50–950 ramp
primary
#1B1977
secondary
#A9AC40
accent
#E840E5
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E