#1B1E82#1B1E82
#1B1E82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.161 H 271.3°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1E82 |
|---|---|
| RGB | rgb(27, 30, 130) |
| HSL | hsl(238, 66%, 31%) |
| HSV | hsv(238, 79%, 51%) |
| CMYK | cmyk(79.2%, 76.9%, 0%, 49%) |
| CIE-LAB | lab(19.11, 35.31, -55.73) |
| CIE-LCH | lch(19.11, 65.98, 302.36°) |
| OKLab | oklab(31.76% 0.0037 -0.1613) |
| OKLCH | oklch(31.76% 0.161 271.3) |
| XYZ | xyz(4.9442, 2.7727, 21.3894) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.92
Royal
#0C1793
ΔE00 3.06
Darkblue
#00008B
ΔE00 5.52
Dark Royal Blue
#02066F
ΔE00 5.62
Navy
#000080
ΔE00 5.66
Deep Blue
#040273
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1E82 #827F1B
analogous
#1B5182 #1B1E82 #4B1B82
triadic
#1B1E82 #821B1E #1E821B
tetradic
#1B1E82 #821B51 #827F1B #1B824B
square
#1B1E82 #821B51 #827F1B #1B824B
split-complementary
#1B1E82 #824B1B #51821B
monochromatic
#06071D #10124F #1B1E82 #262AB5 #4044D7
Accessibility & contrast
On white
13.51
#1B1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1B1E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1E82
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1E82 | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1b1e82; /* rgb */ color: rgb(27, 30, 130); /* oklch */ color: oklch(31.8% 0.161 271.3);
Tailwind
colors: {
custom: {
50: '#6b5ba7',
500: '#1b1e82',
950: '#000000',
},
}SCSS
$custom: #1b1e82; $custom-light: #6b5ba7; $custom-dark: #000000;
JSON
{
"hex": "#1b1e82",
"rgb": {
"r": 27,
"g": 30,
"b": 130
},
"hsl": {
"h": 238.252,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.31761,
"c": 0.16139,
"h": 271.3
},
"luminance": 0.02773
}Semantic roles & 50–950 ramp
primary
#1B1E82
secondary
#B6B243
accent
#E43FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F