#1B2B86#1B2B86
#1B2B86 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.152 H 268.7°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B86 |
|---|---|
| RGB | rgb(27, 43, 134) |
| HSL | hsl(231, 66%, 32%) |
| HSV | hsv(231, 80%, 53%) |
| CMYK | cmyk(79.9%, 67.9%, 0%, 47.5%) |
| CIE-LAB | lab(22.59, 28.43, -52.52) |
| CIE-LCH | lch(22.59, 59.72, 298.43°) |
| OKLab | oklab(34.4% -0.0034 -0.152) |
| OKLCH | oklch(34.4% 0.152 268.7) |
| XYZ | xyz(5.6175, 3.6814, 22.9641) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.60
Royal
#0C1793
ΔE00 5.72
Sapphire (survey)
#2138AB
ΔE00 6.10
Darkslateblue
#483D8B
ΔE00 7.53
Blueberry
#464196
ΔE00 7.79
Marine
#042E60
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B86 #86761B
analogous
#1B6186 #1B2B86 #411B86
triadic
#1B2B86 #861B2B #2B861B
tetradic
#1B2B86 #861B61 #86761B #1B8641
square
#1B2B86 #861B61 #86761B #1B8641
split-complementary
#1B2B86 #86411B #61861B
monochromatic
#060A20 #111B53 #1B2B86 #253BB9 #4259D9
Accessibility & contrast
On white
12.09
#1B2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1B2B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B86
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B86 | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1b2b86; /* rgb */ color: rgb(27, 43, 134); /* oklch */ color: oklch(34.4% 0.152 268.7);
Tailwind
colors: {
custom: {
50: '#6b64aa',
500: '#1b2b86',
950: '#000000',
},
}SCSS
$custom: #1b2b86; $custom-light: #6b64aa; $custom-dark: #000000;
JSON
{
"hex": "#1b2b86",
"rgb": {
"r": 27,
"g": 43,
"b": 134
},
"hsl": {
"h": 231.028,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.34396,
"c": 0.15204,
"h": 268.7
},
"luminance": 0.03682
}Semantic roles & 50–950 ramp
primary
#1B2B86
secondary
#B9A844
accent
#D03EE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F