#1B2182#1B2182
#1B2182 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.158 H 270.8°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2182 |
|---|---|
| RGB | rgb(27, 33, 130) |
| HSL | hsl(237, 66%, 31%) |
| HSV | hsv(237, 79%, 51%) |
| CMYK | cmyk(79.2%, 74.6%, 0%, 49%) |
| CIE-LAB | lab(19.77, 33.47, -54.64) |
| CIE-LCH | lch(19.77, 64.07, 301.49°) |
| OKLab | oklab(32.23% 0.0023 -0.1582) |
| OKLCH | oklch(32.23% 0.158 270.8) |
| XYZ | xyz(5.0237, 2.9319, 21.4159) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.22
Royal
#0C1793
ΔE00 3.59
Darkblue
#00008B
ΔE00 6.30
Dark Royal Blue
#02066F
ΔE00 6.30
Navy
#000080
ΔE00 6.46
Cobalt Blue
#030AA7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2182 #827C1B
analogous
#1B5482 #1B2182 #481B82
triadic
#1B2182 #821B21 #21821B
tetradic
#1B2182 #821B54 #827C1B #1B8248
square
#1B2182 #821B54 #827C1B #1B8248
split-complementary
#1B2182 #82481B #54821B
monochromatic
#06071D #10144F #1B2182 #262EB5 #4049D7
Accessibility & contrast
On white
13.24
#1B2182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1B2182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2182
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2182 | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1b2182; /* rgb */ color: rgb(27, 33, 130); /* oklch */ color: oklch(32.2% 0.158 270.8);
Tailwind
colors: {
custom: {
50: '#6b5da7',
500: '#1b2182',
950: '#000000',
},
}SCSS
$custom: #1b2182; $custom-light: #6b5da7; $custom-dark: #000000;
JSON
{
"hex": "#1b2182",
"rgb": {
"r": 27,
"g": 33,
"b": 130
},
"hsl": {
"h": 236.505,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.32231,
"c": 0.15823,
"h": 270.8
},
"luminance": 0.02932
}Semantic roles & 50–950 ramp
primary
#1B2182
secondary
#B6AF43
accent
#DF3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F