#1B1E79#1B1E79
#1B1E79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.150 H 272.0°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1E79 |
|---|---|
| RGB | rgb(27, 30, 121) |
| HSL | hsl(238, 64%, 29%) |
| HSV | hsv(238, 78%, 47%) |
| CMYK | cmyk(77.7%, 75.2%, 0%, 52.5%) |
| CIE-LAB | lab(18.11, 32.06, -51.66) |
| CIE-LCH | lch(18.11, 60.80, 301.83°) |
| OKLab | oklab(30.75% 0.0052 -0.1495) |
| OKLCH | oklch(30.75% 0.15 272) |
| XYZ | xyz(4.3663, 2.5416, 18.3459) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.75
Royal
#0C1793
ΔE00 4.38
Dark Royal Blue
#02066F
ΔE00 5.34
Darkblue (survey)
#030764
ΔE00 5.83
Deep Blue
#040273
ΔE00 5.86
Navy
#000080
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1E79 #79761B
analogous
#1B4D79 #1B1E79 #471B79
triadic
#1B1E79 #791B1E #1E791B
tetradic
#1B1E79 #791B4D #79761B #1B7947
square
#1B1E79 #791B4D #79761B #1B7947
split-complementary
#1B1E79 #79471B #4D791B
monochromatic
#060619 #101247 #1B1E79 #262AAB #3B40D3
Accessibility & contrast
On white
13.92
#1B1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1B1E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1E79
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1E79 | 1.00 | 13.92 | 1.51 | 13.92 |
| #FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b1e79; /* rgb */ color: rgb(27, 30, 121); /* oklch */ color: oklch(30.7% 0.150 272.0);
Tailwind
colors: {
custom: {
50: '#685ba1',
500: '#1b1e79',
950: '#000000',
},
}SCSS
$custom: #1b1e79; $custom-light: #685ba1; $custom-dark: #000000;
JSON
{
"hex": "#1b1e79",
"rgb": {
"r": 27,
"g": 30,
"b": 121
},
"hsl": {
"h": 238.085,
"s": 63.514,
"l": 29.02
},
"oklch": {
"l": 0.30747,
"c": 0.14961,
"h": 272
},
"luminance": 0.02542
}Semantic roles & 50–950 ramp
primary
#1B1E79
secondary
#ADAA43
accent
#E141E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F