#1B0F5E#1B0F5E
#1B0F5E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.130 H 278.7°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0F5E |
|---|---|
| RGB | rgb(27, 15, 94) |
| HSL | hsl(249, 72%, 21%) |
| HSV | hsv(249, 84%, 37%) |
| CMYK | cmyk(71.3%, 84%, 0%, 63.1%) |
| CIE-LAB | lab(11.84, 31.46, -44.33) |
| CIE-LCH | lch(11.84, 54.37, 305.36°) |
| OKLab | oklab(25.4% 0.0197 -0.128) |
| OKLCH | oklch(25.4% 0.13 278.7) |
| XYZ | xyz(2.6425, 1.3826, 10.7151) |
| Luminance | 0.0138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.32
Darkblue (survey)
#030764
ΔE00 2.87
Dark Blue
#00035B
ΔE00 3.32
Midnight Blue
#191970
ΔE00 3.63
Dark Royal Blue
#02066F
ΔE00 4.01
Night Blue
#040348
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0F5E #525E0F
analogous
#0F2B5E #1B0F5E #430F5E
triadic
#1B0F5E #5E1B0F #0F5E1B
tetradic
#1B0F5E #5E0F2B #525E0F #0F5E43
square
#1B0F5E #5E0F2B #525E0F #0F5E43
split-complementary
#1B0F5E #5E430F #2B5E0F
monochromatic
#08041A #0C0729 #1B0F5E #2A1793 #3920C8
Accessibility & contrast
On white
16.45
#1B0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#1B0F5E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0F5E
16.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0F5E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0F5E | 1.00 | 16.45 | 1.28 | 16.45 |
| #FFFFFF | 16.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001C5D
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #1b0f5e; /* rgb */ color: rgb(27, 15, 94); /* oklch */ color: oklch(25.4% 0.130 278.7);
Tailwind
colors: {
custom: {
50: '#63508d',
500: '#1b0f5e',
950: '#000000',
},
}SCSS
$custom: #1b0f5e; $custom-light: #63508d; $custom-dark: #000000;
JSON
{
"hex": "#1b0f5e",
"rgb": {
"r": 27,
"g": 15,
"b": 94
},
"hsl": {
"h": 249.114,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.25399,
"c": 0.12955,
"h": 278.7
},
"luminance": 0.01383
}Semantic roles & 50–950 ramp
primary
#1B0F5E
secondary
#889731
accent
#EF39D3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D