#1B1E8D#1B1E8D
#1B1E8D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.175 H 270.5°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1E8D |
|---|---|
| RGB | rgb(27, 30, 141) |
| HSL | hsl(238, 68%, 33%) |
| HSV | hsv(238, 81%, 55%) |
| CMYK | cmyk(80.9%, 78.7%, 0%, 44.7%) |
| CIE-LAB | lab(20.38, 39.17, -60.54) |
| CIE-LCH | lch(20.38, 72.11, 302.90°) |
| OKLab | oklab(33.03% 0.0016 -0.1753) |
| OKLCH | oklch(33.03% 0.175 270.5) |
| XYZ | xyz(5.7224, 3.0840, 25.4878) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.83
Midnight Blue
#191970
ΔE00 4.50
Cobalt Blue
#030AA7
ΔE00 4.67
Darkblue
#00008B
ΔE00 5.15
Royal Blue (survey)
#0504AA
ΔE00 5.28
Navy
#000080
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1E8D #8D8A1B
analogous
#1B578D #1B1E8D #511B8D
triadic
#1B1E8D #8D1B1E #1E8D1B
tetradic
#1B1E8D #8D1B57 #8D8A1B #1B8D51
square
#1B1E8D #8D1B57 #8D8A1B #1B8D51
split-complementary
#1B1E8D #8D511B #578D1B
monochromatic
#070826 #11135A #1B1E8D #2529C0 #474BDC
Accessibility & contrast
On white
12.99
#1B1E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1B1E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1E8D
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1E8D | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b1e8d; /* rgb */ color: rgb(27, 30, 141); /* oklch */ color: oklch(33.0% 0.175 270.5);
Tailwind
colors: {
custom: {
50: '#6e5cb0',
500: '#1b1e8d',
950: '#000000',
},
}SCSS
$custom: #1b1e8d; $custom-light: #6e5cb0; $custom-dark: #000000;
JSON
{
"hex": "#1b1e8d",
"rgb": {
"r": 27,
"g": 30,
"b": 141
},
"hsl": {
"h": 238.421,
"s": 67.857,
"l": 32.941
},
"oklch": {
"l": 0.3303,
"c": 0.17533,
"h": 270.5
},
"luminance": 0.03085
}Semantic roles & 50–950 ramp
primary
#1B1E8D
secondary
#BDBA46
accent
#E63DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980