#1B2E86#1B2E86
#1B2E86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.148 H 268.0°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E86 |
|---|---|
| RGB | rgb(27, 46, 134) |
| HSL | hsl(229, 66%, 32%) |
| HSV | hsv(229, 80%, 53%) |
| CMYK | cmyk(79.9%, 65.7%, 0%, 47.5%) |
| CIE-LAB | lab(23.36, 26.39, -51.25) |
| CIE-LCH | lch(23.36, 57.64, 297.25°) |
| OKLab | oklab(34.97% -0.0052 -0.1483) |
| OKLCH | oklch(34.97% 0.148 268) |
| XYZ | xyz(5.7306, 3.9076, 23.0019) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.79
Midnight Blue
#191970
ΔE00 6.42
Royal
#0C1793
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 7.23
Marine
#042E60
ΔE00 7.33
Blueberry
#464196
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E86 #86731B
analogous
#1B6486 #1B2E86 #3E1B86
triadic
#1B2E86 #861B2E #2E861B
tetradic
#1B2E86 #861B64 #86731B #1B863E
square
#1B2E86 #861B64 #86731B #1B863E
split-complementary
#1B2E86 #863E1B #64861B
monochromatic
#060B20 #111D53 #1B2E86 #253FB9 #425DD9
Accessibility & contrast
On white
11.79
#1B2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1B2E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E86
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E86 | 1.00 | 11.79 | 1.78 | 11.79 |
| #FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1b2e86; /* rgb */ color: rgb(27, 46, 134); /* oklch */ color: oklch(35.0% 0.148 268.0);
Tailwind
colors: {
custom: {
50: '#6a66aa',
500: '#1b2e86',
950: '#000000',
},
}SCSS
$custom: #1b2e86; $custom-light: #6a66aa; $custom-dark: #000000;
JSON
{
"hex": "#1b2e86",
"rgb": {
"r": 27,
"g": 46,
"b": 134
},
"hsl": {
"h": 229.346,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.34965,
"c": 0.14835,
"h": 268
},
"luminance": 0.03908
}Semantic roles & 50–950 ramp
primary
#1B2E86
secondary
#B9A444
accent
#CB3EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F