#1B1779#1B1779
#1B1779 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.157 H 273.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1779 |
|---|---|
| RGB | rgb(27, 23, 121) |
| HSL | hsl(242, 68%, 28%) |
| HSV | hsv(242, 81%, 47%) |
| CMYK | cmyk(77.7%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(16.63, 36.24, -54.10) |
| CIE-LCH | lch(16.63, 65.12, 303.82°) |
| OKLab | oklab(29.7% 0.0085 -0.1565) |
| OKLCH | oklch(29.7% 0.157 273.1) |
| XYZ | xyz(4.2084, 2.2258, 18.2933) |
| Luminance | 0.0223 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.71
Dark Royal Blue
#02066F
ΔE00 3.75
Royal
#0C1793
ΔE00 3.85
Deep Blue
#040273
ΔE00 4.14
Navy
#000080
ΔE00 4.33
Darkblue (survey)
#030764
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1779 #757917
analogous
#174479 #1B1779 #4C1779
triadic
#1B1779 #791B17 #17791B
tetradic
#1B1779 #791744 #757917 #17794C
square
#1B1779 #791744 #757917 #17794C
split-complementary
#1B1779 #794C17 #447917
monochromatic
#06051A #100D46 #1B1779 #2621AC #3932D8
Accessibility & contrast
On white
14.53
#1B1779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1B1779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1779
14.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1779 | 1.00 | 14.53 | 1.45 | 14.53 |
| #FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #1b1779; /* rgb */ color: rgb(27, 23, 121); /* oklch */ color: oklch(29.7% 0.157 273.1);
Tailwind
colors: {
custom: {
50: '#6956a1',
500: '#1b1779',
950: '#000000',
},
}SCSS
$custom: #1b1779; $custom-light: #6956a1; $custom-dark: #000000;
JSON
{
"hex": "#1b1779",
"rgb": {
"r": 27,
"g": 23,
"b": 121
},
"hsl": {
"h": 242.449,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.29703,
"c": 0.15677,
"h": 273.1
},
"luminance": 0.02226
}Semantic roles & 50–950 ramp
primary
#1B1779
secondary
#A9AE3E
accent
#EB3DE4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F