#1B2E84#1B2E84
#1B2E84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.146 H 268.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E84 |
|---|---|
| RGB | rgb(27, 46, 132) |
| HSL | hsl(229, 66%, 31%) |
| HSV | hsv(229, 80%, 52%) |
| CMYK | cmyk(79.5%, 65.2%, 0%, 48.2%) |
| CIE-LAB | lab(23.18, 25.61, -50.30) |
| CIE-LCH | lch(23.18, 56.44, 296.98°) |
| OKLab | oklab(34.77% -0.0051 -0.1455) |
| OKLCH | oklch(34.77% 0.146 268) |
| XYZ | xyz(5.5924, 3.8523, 22.2742) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.06
Midnight Blue
#191970
ΔE00 6.36
Royal
#0C1793
ΔE00 6.83
Marine
#042E60
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.27
Blueberry
#464196
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E84 #84711B
analogous
#1B6284 #1B2E84 #3C1B84
triadic
#1B2E84 #841B2E #2E841B
tetradic
#1B2E84 #841B62 #84711B #1B843C
square
#1B2E84 #841B62 #84711B #1B843C
split-complementary
#1B2E84 #843C1B #62841B
monochromatic
#060B1E #111C51 #1B2E84 #2540B7 #415DD8
Accessibility & contrast
On white
11.86
#1B2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1B2E84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E84
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E84 | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1b2e84; /* rgb */ color: rgb(27, 46, 132); /* oklch */ color: oklch(34.8% 0.146 268.0);
Tailwind
colors: {
custom: {
50: '#6a66a9',
500: '#1b2e84',
950: '#000000',
},
}SCSS
$custom: #1b2e84; $custom-light: #6a66a9; $custom-dark: #000000;
JSON
{
"hex": "#1b2e84",
"rgb": {
"r": 27,
"g": 46,
"b": 132
},
"hsl": {
"h": 229.143,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.3477,
"c": 0.14557,
"h": 268
},
"luminance": 0.03853
}Semantic roles & 50–950 ramp
primary
#1B2E84
secondary
#B7A243
accent
#CA3FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F