#1B1E7D#1B1E7D
#1B1E7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.155 H 271.7°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1E7D |
|---|---|
| RGB | rgb(27, 30, 125) |
| HSL | hsl(238, 64%, 30%) |
| HSV | hsv(238, 78%, 49%) |
| CMYK | cmyk(78.4%, 76%, 0%, 51%) |
| CIE-LAB | lab(18.55, 33.52, -53.49) |
| CIE-LCH | lch(18.55, 63.12, 302.08°) |
| OKLab | oklab(31.2% 0.0046 -0.1548) |
| OKLCH | oklch(31.2% 0.155 271.7) |
| XYZ | xyz(4.6167, 2.6417, 19.6647) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Royal
#0C1793
ΔE00 3.77
Dark Royal Blue
#02066F
ΔE00 5.41
Navy
#000080
ΔE00 5.83
Deep Blue
#040273
ΔE00 5.84
Darkblue
#00008B
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1E7D #7D7A1B
analogous
#1B4F7D #1B1E7D #491B7D
triadic
#1B1E7D #7D1B1E #1E7D1B
tetradic
#1B1E7D #7D1B4F #7D7A1B #1B7D49
square
#1B1E7D #7D1B4F #7D7A1B #1B7D49
split-complementary
#1B1E7D #7D491B #4F7D1B
monochromatic
#050619 #10124B #1B1E7D #262AAF #3D42D5
Accessibility & contrast
On white
13.74
#1B1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1B1E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1E7D
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1E7D | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1b1e7d; /* rgb */ color: rgb(27, 30, 125); /* oklch */ color: oklch(31.2% 0.155 271.7);
Tailwind
colors: {
custom: {
50: '#6a5ba4',
500: '#1b1e7d',
950: '#000000',
},
}SCSS
$custom: #1b1e7d; $custom-light: #6a5ba4; $custom-dark: #000000;
JSON
{
"hex": "#1b1e7d",
"rgb": {
"r": 27,
"g": 30,
"b": 125
},
"hsl": {
"h": 238.163,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.31195,
"c": 0.1549,
"h": 271.7
},
"luminance": 0.02642
}Semantic roles & 50–950 ramp
primary
#1B1E7D
secondary
#B1AE43
accent
#E240E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F