#1B2282#1B2282
#1B2282 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.157 H 270.7°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2282 |
|---|---|
| RGB | rgb(27, 34, 130) |
| HSL | hsl(236, 66%, 31%) |
| HSV | hsv(236, 79%, 51%) |
| CMYK | cmyk(79.2%, 73.8%, 0%, 49%) |
| CIE-LAB | lab(20.00, 32.84, -54.27) |
| CIE-LCH | lch(20.00, 63.43, 301.18°) |
| OKLab | oklab(32.39% 0.0018 -0.1571) |
| OKLCH | oklch(32.39% 0.157 270.7) |
| XYZ | xyz(5.0519, 2.9882, 21.4253) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.36
Royal
#0C1793
ΔE00 3.79
Dark Royal Blue
#02066F
ΔE00 6.55
Darkblue
#00008B
ΔE00 6.57
Navy
#000080
ΔE00 6.73
Cobalt Blue
#030AA7
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2282 #827B1B
analogous
#1B5582 #1B2282 #471B82
triadic
#1B2282 #821B22 #22821B
tetradic
#1B2282 #821B55 #827B1B #1B8247
square
#1B2282 #821B55 #827B1B #1B8247
split-complementary
#1B2282 #82471B #55821B
monochromatic
#06071D #10154F #1B2282 #262FB5 #404AD7
Accessibility & contrast
On white
13.14
#1B2282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1B2282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2282
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2282 | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 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: #1b2282; /* rgb */ color: rgb(27, 34, 130); /* oklch */ color: oklch(32.4% 0.157 270.7);
Tailwind
colors: {
custom: {
50: '#6a5ea7',
500: '#1b2282',
950: '#000000',
},
}SCSS
$custom: #1b2282; $custom-light: #6a5ea7; $custom-dark: #000000;
JSON
{
"hex": "#1b2282",
"rgb": {
"r": 27,
"g": 34,
"b": 130
},
"hsl": {
"h": 235.922,
"s": 65.605,
"l": 30.784
},
"oklch": {
"l": 0.32394,
"c": 0.15713,
"h": 270.7
},
"luminance": 0.02989
}Semantic roles & 50–950 ramp
primary
#1B2282
secondary
#B6AE43
accent
#DD3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F