#1B2286#1B2286
#1B2286 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.162 H 270.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2286 |
|---|---|
| RGB | rgb(27, 34, 134) |
| HSL | hsl(236, 66%, 32%) |
| HSV | hsv(236, 80%, 53%) |
| CMYK | cmyk(79.9%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(20.43, 34.30, -56.07) |
| CIE-LCH | lch(20.43, 65.73, 301.45°) |
| OKLab | oklab(32.84% 0.0013 -0.1624) |
| OKLCH | oklch(32.84% 0.162 270.4) |
| XYZ | xyz(5.3256, 3.0977, 22.8669) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.32
Midnight Blue
#191970
ΔE00 3.83
Cobalt Blue
#030AA7
ΔE00 6.24
Darkblue
#00008B
ΔE00 6.35
Navy
#000080
ΔE00 6.65
Dark Royal Blue
#02066F
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2286 #867F1B
analogous
#1B5886 #1B2286 #4A1B86
triadic
#1B2286 #861B22 #22861B
tetradic
#1B2286 #861B58 #867F1B #1B864A
square
#1B2286 #861B58 #867F1B #1B864A
split-complementary
#1B2286 #864A1B #58861B
monochromatic
#060820 #111553 #1B2286 #252FB9 #424CD9
Accessibility & contrast
On white
12.97
#1B2286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1B2286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2286
12.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2286 | 1.00 | 12.97 | 1.62 | 12.97 |
| #FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2286; /* rgb */ color: rgb(27, 34, 134); /* oklch */ color: oklch(32.8% 0.162 270.4);
Tailwind
colors: {
custom: {
50: '#6c5eaa',
500: '#1b2286',
950: '#000000',
},
}SCSS
$custom: #1b2286; $custom-light: #6c5eaa; $custom-dark: #000000;
JSON
{
"hex": "#1b2286",
"rgb": {
"r": 27,
"g": 34,
"b": 134
},
"hsl": {
"h": 236.075,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.32835,
"c": 0.16237,
"h": 270.4
},
"luminance": 0.03098
}Semantic roles & 50–950 ramp
primary
#1B2286
secondary
#B9B244
accent
#DE3EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F