#1B2087#1B2087
#1B2087 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.166 H 270.7°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2087 |
|---|---|
| RGB | rgb(27, 32, 135) |
| HSL | hsl(237, 67%, 32%) |
| HSV | hsv(237, 80%, 53%) |
| CMYK | cmyk(80%, 76.3%, 0%, 47.1%) |
| CIE-LAB | lab(20.10, 35.89, -57.24) |
| CIE-LCH | lch(20.10, 67.56, 302.09°) |
| OKLab | oklab(32.63% 0.002 -0.1658) |
| OKLCH | oklch(32.63% 0.166 270.7) |
| XYZ | xyz(5.3402, 3.0147, 23.2174) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.79
Midnight Blue
#191970
ΔE00 3.76
Cobalt Blue
#030AA7
ΔE00 5.74
Darkblue
#00008B
ΔE00 5.78
Navy
#000080
ΔE00 6.12
Dark Royal Blue
#02066F
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2087 #87821B
analogous
#1B5687 #1B2087 #4C1B87
triadic
#1B2087 #871B20 #20871B
tetradic
#1B2087 #871B56 #87821B #1B874C
square
#1B2087 #871B56 #87821B #1B874C
split-complementary
#1B2087 #874C1B #56871B
monochromatic
#070821 #111454 #1B2087 #252CBA #434AD9
Accessibility & contrast
On white
13.10
#1B2087 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B2087 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2087
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2087 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2087 | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2087; /* rgb */ color: rgb(27, 32, 135); /* oklch */ color: oklch(32.6% 0.166 270.7);
Tailwind
colors: {
custom: {
50: '#6c5dab',
500: '#1b2087',
950: '#000000',
},
}SCSS
$custom: #1b2087; $custom-light: #6c5dab; $custom-dark: #000000;
JSON
{
"hex": "#1b2087",
"rgb": {
"r": 27,
"g": 32,
"b": 135
},
"hsl": {
"h": 237.222,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.32633,
"c": 0.16577,
"h": 270.7
},
"luminance": 0.03015
}Semantic roles & 50–950 ramp
primary
#1B2087
secondary
#BAB544
accent
#E23EEA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F