#1A2B71#1A2B71
#1A2B71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.123 H 268.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2B71 |
|---|---|
| RGB | rgb(26, 43, 113) |
| HSL | hsl(228, 63%, 27%) |
| HSV | hsv(228, 77%, 44%) |
| CMYK | cmyk(77%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(20.59, 20.01, -42.45) |
| CIE-LCH | lch(20.59, 46.93, 295.24°) |
| OKLab | oklab(32.31% -0.0038 -0.1225) |
| OKLCH | oklch(32.31% 0.123 268.2) |
| XYZ | xyz(4.2695, 3.1392, 16.0005) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.06
Midnight Blue
#191970
ΔE00 5.80
Marine Blue
#01386A
ΔE00 7.18
Navy Blue
#1B2A4A
ΔE00 7.68
Royal
#0C1793
ΔE00 8.45
Darkslateblue
#483D8B
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2B71 #71601A
analogous
#1A5771 #1A2B71 #351A71
triadic
#1A2B71 #711A2B #2B711A
tetradic
#1A2B71 #711A57 #71601A #1A7135
square
#1A2B71 #711A57 #71601A #1A7135
split-complementary
#1A2B71 #71351A #57711A
monochromatic
#060919 #0F183F #1A2B71 #253EA3 #3553D0
Accessibility & contrast
On white
12.90
#1A2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1A2B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2B71
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2B71 | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1a2b71; /* rgb */ color: rgb(26, 43, 113); /* oklch */ color: oklch(32.3% 0.123 268.2);
Tailwind
colors: {
custom: {
50: '#65649a',
500: '#1a2b71',
950: '#000000',
},
}SCSS
$custom: #1a2b71; $custom-light: #65649a; $custom-dark: #000000;
JSON
{
"hex": "#1a2b71",
"rgb": {
"r": 26,
"g": 43,
"b": 113
},
"hsl": {
"h": 228.276,
"s": 62.59,
"l": 27.255
},
"oklch": {
"l": 0.32309,
"c": 0.12258,
"h": 268.2
},
"luminance": 0.0314
}Semantic roles & 50–950 ramp
primary
#1A2B71
secondary
#A69241
accent
#C642E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E