#1B0E8D#1B0E8D
#1B0E8D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.188 H 271.7°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0E8D |
|---|---|
| RGB | rgb(27, 14, 141) |
| HSL | hsl(246, 82%, 30%) |
| HSV | hsv(246, 90%, 55%) |
| CMYK | cmyk(80.9%, 90.1%, 0%, 44.7%) |
| CIE-LAB | lab(17.78, 46.79, -64.85) |
| CIE-LCH | lch(17.78, 79.97, 305.81°) |
| OKLab | oklab(31.23% 0.0055 -0.1875) |
| OKLCH | oklch(31.23% 0.188 271.7) |
| XYZ | xyz(5.4151, 2.4696, 25.3854) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.99
Darkblue
#00008B
ΔE00 2.29
Navy
#000080
ΔE00 3.20
Cobalt Blue
#030AA7
ΔE00 3.43
Royal Blue (survey)
#0504AA
ΔE00 3.82
Indigo (survey)
#380282
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0E8D #808D0E
analogous
#0E408D #1B0E8D #5B0E8D
triadic
#1B0E8D #8D1B0E #0E8D1B
tetradic
#1B0E8D #8D0E40 #808D0E #0E8D5B
square
#1B0E8D #8D0E40 #808D0E #0E8D5B
split-complementary
#1B0E8D #8D5B0E #408D0E
monochromatic
#06031E #100855 #1B0E8D #2614C5 #3F2BEA
Accessibility & contrast
On white
14.06
#1B0E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1B0E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0E8D
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0E8D | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003190
Deuteranopia (green-blind)
#00258B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b0e8d; /* rgb */ color: rgb(27, 14, 141); /* oklch */ color: oklch(31.2% 0.188 271.7);
Tailwind
colors: {
custom: {
50: '#6f54b0',
500: '#1b0e8d',
950: '#000000',
},
}SCSS
$custom: #1b0e8d; $custom-light: #6f54b0; $custom-dark: #000000;
JSON
{
"hex": "#1b0e8d",
"rgb": {
"r": 27,
"g": 14,
"b": 141
},
"hsl": {
"h": 246.142,
"s": 81.935,
"l": 30.392
},
"oklch": {
"l": 0.31231,
"c": 0.18758,
"h": 271.7
},
"luminance": 0.0247
}Semantic roles & 50–950 ramp
primary
#1B0E8D
secondary
#B4C235
accent
#F830E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880