#1B1F85#1B1F85
#1B1F85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.164 H 270.9°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1B1F85 |
|---|---|
| RGB | rgb(27, 31, 133) |
| HSL | hsl(238, 66%, 31%) |
| HSV | hsv(238, 80%, 52%) |
| CMYK | cmyk(79.7%, 76.7%, 0%, 47.8%) |
| CIE-LAB | lab(19.66, 35.78, -56.71) |
| CIE-LCH | lch(19.66, 67.05, 302.25°) |
| OKLab | oklab(32.25% 0.0027 -0.1642) |
| OKLCH | oklch(32.25% 0.164 270.9) |
| XYZ | xyz(5.1742, 2.9059, 22.4739) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.83
Midnight Blue
#191970
ΔE00 3.41
Darkblue
#00008B
ΔE00 5.61
Cobalt Blue
#030AA7
ΔE00 5.84
Navy
#000080
ΔE00 5.87
Dark Royal Blue
#02066F
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B1F85 #85811B
analogous
#1B5485 #1B1F85 #4C1B85
triadic
#1B1F85 #851B1F #1F851B
tetradic
#1B1F85 #851B54 #85811B #1B854C
square
#1B1F85 #851B54 #85811B #1B854C
split-complementary
#1B1F85 #854C1B #54851B
monochromatic
#06071F #111352 #1B1F85 #252BB8 #4247D9
Accessibility & contrast
On white
13.28
#1B1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1B1F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B1F85
13.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B1F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B1F85 | 1.00 | 13.28 | 1.58 | 13.28 |
| #FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b1f85; /* rgb */ color: rgb(27, 31, 133); /* oklch */ color: oklch(32.3% 0.164 270.9);
Tailwind
colors: {
custom: {
50: '#6c5caa',
500: '#1b1f85',
950: '#000000',
},
}SCSS
$custom: #1b1f85; $custom-light: #6c5caa; $custom-dark: #000000;
JSON
{
"hex": "#1b1f85",
"rgb": {
"r": 27,
"g": 31,
"b": 133
},
"hsl": {
"h": 237.736,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.32254,
"c": 0.16423,
"h": 270.9
},
"luminance": 0.02906
}Semantic roles & 50–950 ramp
primary
#1B1F85
secondary
#B8B444
accent
#E33FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F