#1B2E82#1B2E82
#1B2E82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.143 H 268.0°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2E82 |
|---|---|
| RGB | rgb(27, 46, 130) |
| HSL | hsl(229, 66%, 31%) |
| HSV | hsv(229, 79%, 51%) |
| CMYK | cmyk(79.2%, 64.6%, 0%, 49%) |
| CIE-LAB | lab(22.99, 24.82, -49.34) |
| CIE-LCH | lch(22.99, 55.23, 296.70°) |
| OKLab | oklab(34.58% -0.005 -0.1427) |
| OKLCH | oklch(34.58% 0.143 268) |
| XYZ | xyz(5.4569, 3.7981, 21.5603) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.31
Sapphire (survey)
#2138AB
ΔE00 6.34
Marine
#042E60
ΔE00 6.77
Royal
#0C1793
ΔE00 7.04
Darkslateblue
#483D8B
ΔE00 7.32
Blueberry
#464196
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2E82 #826F1B
analogous
#1B6182 #1B2E82 #3B1B82
triadic
#1B2E82 #821B2E #2E821B
tetradic
#1B2E82 #821B61 #826F1B #1B823B
square
#1B2E82 #821B61 #826F1B #1B823B
split-complementary
#1B2E82 #823B1B #61821B
monochromatic
#060A1D #101C4F #1B2E82 #2640B5 #405CD7
Accessibility & contrast
On white
11.93
#1B2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#1B2E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2E82
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2E82 | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1b2e82; /* rgb */ color: rgb(27, 46, 130); /* oklch */ color: oklch(34.6% 0.143 268.0);
Tailwind
colors: {
custom: {
50: '#6966a7',
500: '#1b2e82',
950: '#000000',
},
}SCSS
$custom: #1b2e82; $custom-light: #6966a7; $custom-dark: #000000;
JSON
{
"hex": "#1b2e82",
"rgb": {
"r": 27,
"g": 46,
"b": 130
},
"hsl": {
"h": 228.932,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.34576,
"c": 0.14278,
"h": 268
},
"luminance": 0.03799
}Semantic roles & 50–950 ramp
primary
#1B2E82
secondary
#B6A043
accent
#C93FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F