#1A2D7E#1A2D7E
#1A2D7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.139 H 267.8°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2D7E |
|---|---|
| RGB | rgb(26, 45, 126) |
| HSL | hsl(229, 66%, 30%) |
| HSV | hsv(229, 79%, 49%) |
| CMYK | cmyk(79.4%, 64.3%, 0%, 50.6%) |
| CIE-LAB | lab(22.31, 23.81, -47.94) |
| CIE-LCH | lch(22.31, 53.53, 296.42°) |
| OKLab | oklab(33.95% -0.0053 -0.1386) |
| OKLCH | oklch(33.95% 0.139 267.8) |
| XYZ | xyz(5.1290, 3.6022, 20.1596) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.01
Marine
#042E60
ΔE00 6.33
Sapphire (survey)
#2138AB
ΔE00 6.99
Royal
#0C1793
ΔE00 7.22
Marine Blue
#01386A
ΔE00 7.53
Darkslateblue
#483D8B
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2D7E #7E6B1A
analogous
#1A5F7E #1A2D7E #391A7E
triadic
#1A2D7E #7E1A2D #2D7E1A
tetradic
#1A2D7E #7E1A5F #7E6B1A #1A7E39
square
#1A2D7E #7E1A5F #7E6B1A #1A7E39
split-complementary
#1A2D7E #7E391A #5F7E1A
monochromatic
#050919 #101B4B #1A2D7E #243FB1 #3C59D7
Accessibility & contrast
On white
12.21
#1A2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1A2D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2D7E
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2D7E | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1a2d7e; /* rgb */ color: rgb(26, 45, 126); /* oklch */ color: oklch(33.9% 0.139 267.8);
Tailwind
colors: {
custom: {
50: '#6865a4',
500: '#1a2d7e',
950: '#000000',
},
}SCSS
$custom: #1a2d7e; $custom-light: #6865a4; $custom-dark: #000000;
JSON
{
"hex": "#1a2d7e",
"rgb": {
"r": 26,
"g": 45,
"b": 126
},
"hsl": {
"h": 228.6,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.33946,
"c": 0.1387,
"h": 267.8
},
"luminance": 0.03603
}Semantic roles & 50–950 ramp
primary
#1A2D7E
secondary
#B29D42
accent
#C83FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F