#1B2186#1B2186
#1B2186 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.163 H 270.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2186 |
|---|---|
| RGB | rgb(27, 33, 134) |
| HSL | hsl(237, 66%, 32%) |
| HSV | hsv(237, 80%, 53%) |
| CMYK | cmyk(79.9%, 75.4%, 0%, 47.5%) |
| CIE-LAB | lab(20.21, 34.92, -56.44) |
| CIE-LCH | lch(20.21, 66.36, 301.75°) |
| OKLab | oklab(32.68% 0.0017 -0.1634) |
| OKLCH | oklch(32.68% 0.163 270.6) |
| XYZ | xyz(5.2975, 3.0414, 22.8575) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.10
Midnight Blue
#191970
ΔE00 3.71
Cobalt Blue
#030AA7
ΔE00 6.05
Darkblue
#00008B
ΔE00 6.08
Navy
#000080
ΔE00 6.38
Dark Royal Blue
#02066F
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2186 #86801B
analogous
#1B5786 #1B2186 #4B1B86
triadic
#1B2186 #861B21 #21861B
tetradic
#1B2186 #861B57 #86801B #1B864B
square
#1B2186 #861B57 #86801B #1B864B
split-complementary
#1B2186 #864B1B #57861B
monochromatic
#060820 #111453 #1B2186 #252EB9 #424BD9
Accessibility & contrast
On white
13.06
#1B2186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1B2186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2186
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2186 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002B84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2186; /* rgb */ color: rgb(27, 33, 134); /* oklch */ color: oklch(32.7% 0.163 270.6);
Tailwind
colors: {
custom: {
50: '#6c5daa',
500: '#1b2186',
950: '#000000',
},
}SCSS
$custom: #1b2186; $custom-light: #6c5daa; $custom-dark: #000000;
JSON
{
"hex": "#1b2186",
"rgb": {
"r": 27,
"g": 33,
"b": 134
},
"hsl": {
"h": 236.636,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.32676,
"c": 0.16344,
"h": 270.6
},
"luminance": 0.03042
}Semantic roles & 50–950 ramp
primary
#1B2186
secondary
#B9B344
accent
#E03EE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F