#1B2A71#1B2A71
#1B2A71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.124 H 269.1°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1B2A71 |
|---|---|
| RGB | rgb(27, 42, 113) |
| HSL | hsl(230, 61%, 27%) |
| HSV | hsv(230, 76%, 44%) |
| CMYK | cmyk(76.1%, 62.8%, 0%, 55.7%) |
| CIE-LAB | lab(20.36, 20.86, -42.82) |
| CIE-LCH | lch(20.36, 47.63, 295.97°) |
| OKLab | oklab(32.15% -0.002 -0.1236) |
| OKLCH | oklch(32.15% 0.124 269.1) |
| XYZ | xyz(4.2596, 3.0808, 15.9897) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.39
Marine
#042E60
ΔE00 5.43
Marine Blue
#01386A
ΔE00 7.60
Navy Blue
#1B2A4A
ΔE00 7.84
Royal
#0C1793
ΔE00 8.16
Darkslateblue
#483D8B
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B2A71 #71621B
analogous
#1B5571 #1B2A71 #371B71
triadic
#1B2A71 #711B2A #2A711B
tetradic
#1B2A71 #711B55 #71621B #1B7137
square
#1B2A71 #711B55 #71621B #1B7137
split-complementary
#1B2A71 #71371B #55711B
monochromatic
#060919 #0F1840 #1B2A71 #273CA2 #3752CF
Accessibility & contrast
On white
12.99
#1B2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1B2A71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B2A71
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B2A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B2A71 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1b2a71; /* rgb */ color: rgb(27, 42, 113); /* oklch */ color: oklch(32.2% 0.124 269.1);
Tailwind
colors: {
custom: {
50: '#65639a',
500: '#1b2a71',
950: '#000000',
},
}SCSS
$custom: #1b2a71; $custom-light: #65639a; $custom-dark: #000000;
JSON
{
"hex": "#1b2a71",
"rgb": {
"r": 27,
"g": 42,
"b": 113
},
"hsl": {
"h": 229.535,
"s": 61.429,
"l": 27.451
},
"oklch": {
"l": 0.32153,
"c": 0.12362,
"h": 269.1
},
"luminance": 0.03081
}Semantic roles & 50–950 ramp
primary
#1B2A71
secondary
#A69442
accent
#C843E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E