#1B2A86#1B2A86
#1B2A86 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.153 H 269.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2A86 |
|---|---|
| RGB | rgb(27, 42, 134) |
| HSL | hsl(232, 66%, 32%) |
| HSV | hsv(232, 80%, 53%) |
| CMYK | cmyk(79.9%, 68.7%, 0%, 47.5%) |
| CIE-LAB | lab(22.34, 29.11, -52.93) |
| CIE-LCH | lch(22.34, 60.41, 298.80°) |
| OKLab | oklab(34.21% -0.0028 -0.1532) |
| OKLCH | oklch(34.21% 0.153 269) |
| XYZ | xyz(5.5816, 3.6095, 22.9522) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.34
Royal
#0C1793
ΔE00 5.42
Sapphire (survey)
#2138AB
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 7.66
Blueberry
#464196
ΔE00 7.96
Marine
#042E60
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2A86 #86771B
analogous
#1B6086 #1B2A86 #421B86
triadic
#1B2A86 #861B2A #2A861B
tetradic
#1B2A86 #861B60 #86771B #1B8642
square
#1B2A86 #861B60 #86771B #1B8642
split-complementary
#1B2A86 #86421B #60861B
monochromatic
#060A20 #111A53 #1B2A86 #253AB9 #4258D9
Accessibility & contrast
On white
12.20
#1B2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1B2A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2A86
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2A86 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1b2a86; /* rgb */ color: rgb(27, 42, 134); /* oklch */ color: oklch(34.2% 0.153 269.0);
Tailwind
colors: {
custom: {
50: '#6b63aa',
500: '#1b2a86',
950: '#000000',
},
}SCSS
$custom: #1b2a86; $custom-light: #6b63aa; $custom-dark: #000000;
JSON
{
"hex": "#1b2a86",
"rgb": {
"r": 27,
"g": 42,
"b": 134
},
"hsl": {
"h": 231.589,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.34211,
"c": 0.15325,
"h": 269
},
"luminance": 0.0361
}Semantic roles & 50–950 ramp
primary
#1B2A86
secondary
#B9A944
accent
#D13EE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F