#1B1B79#1B1B79
#1B1B79 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.153 H 272.5°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1B79 |
|---|---|
| RGB | rgb(27, 27, 121) |
| HSL | hsl(240, 64%, 29%) |
| HSV | hsv(240, 78%, 47%) |
| CMYK | cmyk(77.7%, 77.7%, 0%, 52.5%) |
| CIE-LAB | lab(17.45, 33.92, -52.75) |
| CIE-LCH | lch(17.45, 62.71, 302.74°) |
| OKLab | oklab(30.28% 0.0067 -0.1527) |
| OKLCH | oklch(30.28% 0.153 272.5) |
| XYZ | xyz(4.2940, 2.3969, 18.3218) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.47
Royal
#0C1793
ΔE00 4.05
Dark Royal Blue
#02066F
ΔE00 4.60
Deep Blue
#040273
ΔE00 5.08
Darkblue (survey)
#030764
ΔE00 5.22
Navy
#000080
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1B79 #79791B
analogous
#1B4A79 #1B1B79 #4A1B79
triadic
#1B1B79 #791B1B #1B791B
tetradic
#1B1B79 #791B4A #79791B #1B794A
square
#1B1B79 #791B4A #79791B #1B794A
split-complementary
#1B1B79 #794A1B #4A791B
monochromatic
#060619 #101047 #1B1B79 #2626AB #3B3BD3
Accessibility & contrast
On white
14.19
#1B1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1B1B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1B79
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1B79 | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1b1b79; /* rgb */ color: rgb(27, 27, 121); /* oklch */ color: oklch(30.3% 0.153 272.5);
Tailwind
colors: {
custom: {
50: '#6959a1',
500: '#1b1b79',
950: '#000000',
},
}SCSS
$custom: #1b1b79; $custom-light: #6959a1; $custom-dark: #000000;
JSON
{
"hex": "#1b1b79",
"rgb": {
"r": 27,
"g": 27,
"b": 121
},
"hsl": {
"h": 240,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.30278,
"c": 0.15282,
"h": 272.5
},
"luminance": 0.02397
}Semantic roles & 50–950 ramp
primary
#1B1B79
secondary
#ADAD43
accent
#E741E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F