#1B1979#1B1979
#1B1979 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.155 H 272.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1979 |
|---|---|
| RGB | rgb(27, 25, 121) |
| HSL | hsl(241, 66%, 29%) |
| HSV | hsv(241, 79%, 47%) |
| CMYK | cmyk(77.7%, 79.3%, 0%, 52.5%) |
| CIE-LAB | lab(17.03, 35.10, -53.44) |
| CIE-LCH | lch(17.03, 63.94, 303.30°) |
| OKLab | oklab(29.98% 0.0076 -0.1546) |
| OKLCH | oklch(29.98% 0.155 272.8) |
| XYZ | xyz(4.2497, 2.3083, 18.3070) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.51
Royal
#0C1793
ΔE00 3.92
Dark Royal Blue
#02066F
ΔE00 4.16
Deep Blue
#040273
ΔE00 4.59
Navy
#000080
ΔE00 4.78
Darkblue (survey)
#030764
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1979 #777919
analogous
#194779 #1B1979 #4B1979
triadic
#1B1979 #791B19 #19791B
tetradic
#1B1979 #791947 #777919 #19794B
square
#1B1979 #791947 #777919 #19794B
split-complementary
#1B1979 #794B19 #477919
monochromatic
#060519 #100F46 #1B1979 #2623AC #3A37D6
Accessibility & contrast
On white
14.37
#1B1979 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1B1979 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1979
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1979 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1979 | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1b1979; /* rgb */ color: rgb(27, 25, 121); /* oklch */ color: oklch(30.0% 0.155 272.8);
Tailwind
colors: {
custom: {
50: '#6957a1',
500: '#1b1979',
950: '#000000',
},
}SCSS
$custom: #1b1979; $custom-light: #6957a1; $custom-dark: #000000;
JSON
{
"hex": "#1b1979",
"rgb": {
"r": 27,
"g": 25,
"b": 121
},
"hsl": {
"h": 241.25,
"s": 65.753,
"l": 28.627
},
"oklch": {
"l": 0.29983,
"c": 0.15484,
"h": 272.8
},
"luminance": 0.02309
}Semantic roles & 50–950 ramp
primary
#1B1979
secondary
#ABAE40
accent
#E93FE5
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F