#1B0F5C#1B0F5C
#1B0F5C is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.2% C 0.127 H 279.2°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1B0F5C |
|---|---|
| RGB | rgb(27, 15, 92) |
| HSL | hsl(249, 72%, 21%) |
| HSV | hsv(249, 84%, 36%) |
| CMYK | cmyk(70.7%, 83.7%, 0%, 63.9%) |
| CIE-LAB | lab(11.60, 30.79, -43.39) |
| CIE-LCH | lch(11.60, 53.20, 305.36°) |
| OKLab | oklab(25.16% 0.0203 -0.1253) |
| OKLCH | oklch(25.16% 0.127 279.2) |
| XYZ | xyz(2.5540, 1.3472, 10.2486) |
| Luminance | 0.0135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 2.08
Darkblue (survey)
#030764
ΔE00 3.11
Dark Blue
#00035B
ΔE00 3.40
Midnight Blue
#191970
ΔE00 3.90
Night Blue
#040348
ΔE00 4.27
Dark Royal Blue
#02066F
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B0F5C #505C0F
analogous
#0F295C #1B0F5C #410F5C
triadic
#1B0F5C #5C1B0F #0F5C1B
tetradic
#1B0F5C #5C0F29 #505C0F #0F5C41
square
#1B0F5C #5C0F29 #505C0F #0F5C41
split-complementary
#1B0F5C #5C410F #295C0F
monochromatic
#08041A #0C0627 #1B0F5C #2A1891 #3A20C5
Accessibility & contrast
On white
16.54
#1B0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.27
#1B0F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B0F5C
16.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B0F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B0F5C | 1.00 | 16.54 | 1.27 | 16.54 |
| #FFFFFF | 16.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001C5B
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #1b0f5c; /* rgb */ color: rgb(27, 15, 92); /* oklch */ color: oklch(25.2% 0.127 279.2);
Tailwind
colors: {
custom: {
50: '#62508b',
500: '#1b0f5c',
950: '#000000',
},
}SCSS
$custom: #1b0f5c; $custom-light: #62508b; $custom-dark: #000000;
JSON
{
"hex": "#1b0f5c",
"rgb": {
"r": 27,
"g": 15,
"b": 92
},
"hsl": {
"h": 249.351,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.25161,
"c": 0.12692,
"h": 279.2
},
"luminance": 0.01347
}Semantic roles & 50–950 ramp
primary
#1B0F5C
secondary
#869531
accent
#EF39D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D