#1B0F5B#1B0F5B
#1B0F5B is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.0% C 0.126 H 279.4°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0F5B |
|---|---|
| RGB | rgb(27, 15, 91) |
| HSL | hsl(249, 72%, 21%) |
| HSV | hsv(249, 84%, 36%) |
| CMYK | cmyk(70.3%, 83.5%, 0%, 64.3%) |
| CIE-LAB | lab(11.48, 30.45, -42.91) |
| CIE-LCH | lch(11.48, 52.62, 305.36°) |
| OKLab | oklab(25.04% 0.0206 -0.1239) |
| OKLCH | oklch(25.04% 0.126 279.4) |
| XYZ | xyz(2.5105, 1.3298, 10.0199) |
| Luminance | 0.0133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 1.98
Darkblue (survey)
#030764
ΔE00 3.24
Dark Blue
#00035B
ΔE00 3.46
Midnight Blue
#191970
ΔE00 4.05
Night Blue
#040348
ΔE00 4.15
Dark Royal Blue
#02066F
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0F5B #4F5B0F
analogous
#0F295B #1B0F5B #410F5B
triadic
#1B0F5B #5B1B0F #0F5B1B
tetradic
#1B0F5B #5B0F29 #4F5B0F #0F5B41
square
#1B0F5B #5B0F29 #4F5B0F #0F5B41
split-complementary
#1B0F5B #5B410F #295B0F
monochromatic
#08041A #0B0626 #1B0F5B #2B1890 #3A20C4
Accessibility & contrast
On white
16.59
#1B0F5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#1B0F5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0F5B
16.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0F5B | 1.00 | 16.59 | 1.27 | 16.59 |
| #FFFFFF | 16.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1E1E1E
Design tokens & code
CSS
--color: #1b0f5b; /* rgb */ color: rgb(27, 15, 91); /* oklch */ color: oklch(25.0% 0.126 279.4);
Tailwind
colors: {
custom: {
50: '#624f8a',
500: '#1b0f5b',
950: '#000000',
},
}SCSS
$custom: #1b0f5b; $custom-light: #624f8a; $custom-dark: #000000;
JSON
{
"hex": "#1b0f5b",
"rgb": {
"r": 27,
"g": 15,
"b": 91
},
"hsl": {
"h": 249.474,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.25043,
"c": 0.1256,
"h": 279.4
},
"luminance": 0.0133
}Semantic roles & 50–950 ramp
primary
#1B0F5B
secondary
#859531
accent
#EE39D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D