#1B0F8E#1B0F8E
#1B0F8E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.188 H 271.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0F8E |
|---|---|
| RGB | rgb(27, 15, 142) |
| HSL | hsl(246, 81%, 31%) |
| HSV | hsv(246, 89%, 56%) |
| CMYK | cmyk(81%, 89.4%, 0%, 44.3%) |
| CIE-LAB | lab(18.04, 46.71, -65.04) |
| CIE-LCH | lch(18.04, 80.08, 305.68°) |
| OKLab | oklab(31.45% 0.0051 -0.1881) |
| OKLCH | oklch(31.45% 0.188 271.5) |
| XYZ | xyz(5.5037, 2.5270, 25.7836) |
| Luminance | 0.0253 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.81
Darkblue
#00008B
ΔE00 2.45
Cobalt Blue
#030AA7
ΔE00 3.30
Navy
#000080
ΔE00 3.38
Royal Blue (survey)
#0504AA
ΔE00 3.71
Indigo (survey)
#380282
ΔE00 4.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0F8E #828E0F
analogous
#0F428E #1B0F8E #5A0F8E
triadic
#1B0F8E #8E1B0F #0F8E1B
tetradic
#1B0F8E #8E0F42 #828E0F #0F8E5A
square
#1B0F8E #8E0F42 #828E0F #0F8E5A
split-complementary
#1B0F8E #8E5A0F #428E0F
monochromatic
#06031F #100957 #1B0F8E #2615C5 #402EE9
Accessibility & contrast
On white
13.95
#1B0F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1B0F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0F8E
13.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0F8E | 1.00 | 13.95 | 1.51 | 13.95 |
| #FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1b0f8e; /* rgb */ color: rgb(27, 15, 142); /* oklch */ color: oklch(31.4% 0.188 271.5);
Tailwind
colors: {
custom: {
50: '#7054b1',
500: '#1b0f8e',
950: '#000000',
},
}SCSS
$custom: #1b0f8e; $custom-light: #7054b1; $custom-dark: #000000;
JSON
{
"hex": "#1b0f8e",
"rgb": {
"r": 27,
"g": 15,
"b": 142
},
"hsl": {
"h": 245.669,
"s": 80.892,
"l": 30.784
},
"oklch": {
"l": 0.31446,
"c": 0.18815,
"h": 271.5
},
"luminance": 0.02528
}Semantic roles & 50–950 ramp
primary
#1B0F8E
secondary
#B6C336
accent
#F731E5
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880