#1B2882#1B2882
#1B2882 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.150 H 269.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2882 |
|---|---|
| RGB | rgb(27, 40, 130) |
| HSL | hsl(232, 66%, 31%) |
| HSV | hsv(232, 79%, 51%) |
| CMYK | cmyk(79.2%, 69.2%, 0%, 49%) |
| CIE-LAB | lab(21.44, 28.91, -51.89) |
| CIE-LCH | lch(21.44, 59.40, 299.12°) |
| OKLab | oklab(33.44% -0.0013 -0.1502) |
| OKLCH | oklch(33.44% 0.15 269.5) |
| XYZ | xyz(5.2387, 3.3617, 21.4875) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.61
Royal
#0C1793
ΔE00 5.27
Sapphire (survey)
#2138AB
ΔE00 6.98
Darkslateblue
#483D8B
ΔE00 7.97
Marine
#042E60
ΔE00 7.98
Cobalt Blue
#030AA7
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2882 #82751B
analogous
#1B5B82 #1B2882 #411B82
triadic
#1B2882 #821B28 #28821B
tetradic
#1B2882 #821B5B #82751B #1B8241
square
#1B2882 #821B5B #82751B #1B8241
split-complementary
#1B2882 #82411B #5B821B
monochromatic
#06091D #10184F #1B2882 #2638B5 #4053D7
Accessibility & contrast
On white
12.56
#1B2882 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1B2882 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2882
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2882 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2882 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1b2882; /* rgb */ color: rgb(27, 40, 130); /* oklch */ color: oklch(33.4% 0.150 269.5);
Tailwind
colors: {
custom: {
50: '#6a62a7',
500: '#1b2882',
950: '#000000',
},
}SCSS
$custom: #1b2882; $custom-light: #6a62a7; $custom-dark: #000000;
JSON
{
"hex": "#1b2882",
"rgb": {
"r": 27,
"g": 40,
"b": 130
},
"hsl": {
"h": 232.427,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.33436,
"c": 0.1502,
"h": 269.5
},
"luminance": 0.03362
}Semantic roles & 50–950 ramp
primary
#1B2882
secondary
#B6A743
accent
#D33FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F