#1B2B82#1B2B82
#1B2B82 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.147 H 268.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2B82 |
|---|---|
| RGB | rgb(27, 43, 130) |
| HSL | hsl(231, 66%, 31%) |
| HSV | hsv(231, 79%, 51%) |
| CMYK | cmyk(79.2%, 66.9%, 0%, 49%) |
| CIE-LAB | lab(22.20, 26.88, -50.64) |
| CIE-LCH | lch(22.20, 57.33, 297.96°) |
| OKLab | oklab(33.99% -0.0031 -0.1465) |
| OKLCH | oklch(33.99% 0.147 268.8) |
| XYZ | xyz(5.3437, 3.5719, 21.5226) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.42
Royal
#0C1793
ΔE00 6.13
Sapphire (survey)
#2138AB
ΔE00 6.61
Marine
#042E60
ΔE00 7.34
Darkslateblue
#483D8B
ΔE00 7.59
Blueberry
#464196
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2B82 #82721B
analogous
#1B5E82 #1B2B82 #3F1B82
triadic
#1B2B82 #821B2B #2B821B
tetradic
#1B2B82 #821B5E #82721B #1B823F
square
#1B2B82 #821B5E #82721B #1B823F
split-complementary
#1B2B82 #823F1B #5E821B
monochromatic
#06091D #101A4F #1B2B82 #263CB5 #4058D7
Accessibility & contrast
On white
12.25
#1B2B82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1B2B82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2B82
12.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2B82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2B82 | 1.00 | 12.25 | 1.71 | 12.25 |
| #FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1b2b82; /* rgb */ color: rgb(27, 43, 130); /* oklch */ color: oklch(34.0% 0.147 268.8);
Tailwind
colors: {
custom: {
50: '#6a64a7',
500: '#1b2b82',
950: '#000000',
},
}SCSS
$custom: #1b2b82; $custom-light: #6a64a7; $custom-dark: #000000;
JSON
{
"hex": "#1b2b82",
"rgb": {
"r": 27,
"g": 43,
"b": 130
},
"hsl": {
"h": 230.68,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.33995,
"c": 0.14653,
"h": 268.8
},
"luminance": 0.03572
}Semantic roles & 50–950 ramp
primary
#1B2B82
secondary
#B6A443
accent
#CE3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F