#1B2B84#1B2B84
#1B2B84 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.149 H 268.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B84 |
|---|---|
| RGB | rgb(27, 43, 132) |
| HSL | hsl(231, 66%, 31%) |
| HSV | hsv(231, 80%, 52%) |
| CMYK | cmyk(79.5%, 67.4%, 0%, 48.2%) |
| CIE-LAB | lab(22.39, 27.66, -51.58) |
| CIE-LCH | lch(22.39, 58.53, 298.20°) |
| OKLab | oklab(34.2% -0.0032 -0.1493) |
| OKLCH | oklch(34.2% 0.149 268.8) |
| XYZ | xyz(5.4793, 3.6261, 22.2365) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.50
Royal
#0C1793
ΔE00 5.92
Sapphire (survey)
#2138AB
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 7.56
Marine
#042E60
ΔE00 7.60
Blueberry
#464196
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B84 #84741B
analogous
#1B5F84 #1B2B84 #3F1B84
triadic
#1B2B84 #841B2B #2B841B
tetradic
#1B2B84 #841B5F #84741B #1B843F
square
#1B2B84 #841B5F #84741B #1B843F
split-complementary
#1B2B84 #843F1B #5F841B
monochromatic
#060A1E #111A51 #1B2B84 #253CB7 #4158D8
Accessibility & contrast
On white
12.17
#1B2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#1B2B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B84
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B84 | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1b2b84; /* rgb */ color: rgb(27, 43, 132); /* oklch */ color: oklch(34.2% 0.149 268.8);
Tailwind
colors: {
custom: {
50: '#6a64a9',
500: '#1b2b84',
950: '#000000',
},
}SCSS
$custom: #1b2b84; $custom-light: #6a64a9; $custom-dark: #000000;
JSON
{
"hex": "#1b2b84",
"rgb": {
"r": 27,
"g": 43,
"b": 132
},
"hsl": {
"h": 230.857,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.34195,
"c": 0.1493,
"h": 268.8
},
"luminance": 0.03627
}Semantic roles & 50–950 ramp
primary
#1B2B84
secondary
#B7A643
accent
#CF3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F