#1B2386#1B2386
#1B2386 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.161 H 270.3°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2386 |
|---|---|
| RGB | rgb(27, 35, 134) |
| HSL | hsl(236, 66%, 32%) |
| HSV | hsv(236, 80%, 53%) |
| CMYK | cmyk(79.9%, 73.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.66, 33.67, -55.70) |
| CIE-LCH | lch(20.66, 65.08, 301.16°) |
| OKLab | oklab(33% 0.0008 -0.1613) |
| OKLCH | oklch(33% 0.161 270.3) |
| XYZ | xyz(5.3546, 3.1557, 22.8765) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.55
Midnight Blue
#191970
ΔE00 3.96
Cobalt Blue
#030AA7
ΔE00 6.44
Darkblue
#00008B
ΔE00 6.62
Navy
#000080
ΔE00 6.92
Dark Royal Blue
#02066F
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2386 #867E1B
analogous
#1B5986 #1B2386 #491B86
triadic
#1B2386 #861B23 #23861B
tetradic
#1B2386 #861B59 #867E1B #1B8649
square
#1B2386 #861B59 #867E1B #1B8649
split-complementary
#1B2386 #86491B #59861B
monochromatic
#060820 #111653 #1B2386 #2530B9 #424ED9
Accessibility & contrast
On white
12.87
#1B2386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1B2386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2386
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2386 | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1b2386; /* rgb */ color: rgb(27, 35, 134); /* oklch */ color: oklch(33.0% 0.161 270.3);
Tailwind
colors: {
custom: {
50: '#6b5eaa',
500: '#1b2386',
950: '#000000',
},
}SCSS
$custom: #1b2386; $custom-light: #6b5eaa; $custom-dark: #000000;
JSON
{
"hex": "#1b2386",
"rgb": {
"r": 27,
"g": 35,
"b": 134
},
"hsl": {
"h": 235.514,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.32997,
"c": 0.16129,
"h": 270.3
},
"luminance": 0.03156
}Semantic roles & 50–950 ramp
primary
#1B2386
secondary
#B9B044
accent
#DD3EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F