#1B2184#1B2184
#1B2184 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.161 H 270.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2184 |
|---|---|
| RGB | rgb(27, 33, 132) |
| HSL | hsl(237, 66%, 31%) |
| HSV | hsv(237, 80%, 52%) |
| CMYK | cmyk(79.5%, 75%, 0%, 48.2%) |
| CIE-LAB | lab(19.99, 34.19, -55.54) |
| CIE-LCH | lch(19.99, 65.22, 301.62°) |
| OKLab | oklab(32.45% 0.002 -0.1608) |
| OKLCH | oklch(32.45% 0.161 270.7) |
| XYZ | xyz(5.1593, 2.9861, 22.1298) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.34
Midnight Blue
#191970
ΔE00 3.46
Darkblue
#00008B
ΔE00 6.18
Cobalt Blue
#030AA7
ΔE00 6.31
Dark Royal Blue
#02066F
ΔE00 6.39
Navy
#000080
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2184 #847E1B
analogous
#1B5584 #1B2184 #491B84
triadic
#1B2184 #841B21 #21841B
tetradic
#1B2184 #841B55 #847E1B #1B8449
square
#1B2184 #841B55 #847E1B #1B8449
split-complementary
#1B2184 #84491B #55841B
monochromatic
#06081E #111451 #1B2184 #252EB7 #414AD8
Accessibility & contrast
On white
13.15
#1B2184 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B2184 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2184
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2184 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2184 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b2184; /* rgb */ color: rgb(27, 33, 132); /* oklch */ color: oklch(32.5% 0.161 270.7);
Tailwind
colors: {
custom: {
50: '#6b5da9',
500: '#1b2184',
950: '#000000',
},
}SCSS
$custom: #1b2184; $custom-light: #6b5da9; $custom-dark: #000000;
JSON
{
"hex": "#1b2184",
"rgb": {
"r": 27,
"g": 33,
"b": 132
},
"hsl": {
"h": 236.571,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.32453,
"c": 0.16084,
"h": 270.7
},
"luminance": 0.02987
}Semantic roles & 50–950 ramp
primary
#1B2184
secondary
#B7B143
accent
#DF3FE9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F