#1A2E7E#1A2E7E
#1A2E7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.137 H 267.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1A2E7E |
|---|---|
| RGB | rgb(26, 46, 126) |
| HSL | hsl(228, 66%, 30%) |
| HSV | hsv(228, 79%, 49%) |
| CMYK | cmyk(79.4%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(22.58, 23.12, -47.49) |
| CIE-LCH | lch(22.58, 52.82, 295.95°) |
| OKLab | oklab(34.15% -0.0059 -0.1373) |
| OKLCH | oklch(34.15% 0.137 267.5) |
| XYZ | xyz(5.1676, 3.6794, 20.1725) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.14
Midnight Blue
#191970
ΔE00 6.34
Sapphire (survey)
#2138AB
ΔE00 6.93
Marine Blue
#01386A
ΔE00 7.24
Royal
#0C1793
ΔE00 7.53
Darkslateblue
#483D8B
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A2E7E #7E6A1A
analogous
#1A607E #1A2E7E #381A7E
triadic
#1A2E7E #7E1A2E #2E7E1A
tetradic
#1A2E7E #7E1A60 #7E6A1A #1A7E38
square
#1A2E7E #7E1A60 #7E6A1A #1A7E38
split-complementary
#1A2E7E #7E381A #607E1A
monochromatic
#050919 #101B4B #1A2E7E #2441B1 #3C5BD7
Accessibility & contrast
On white
12.10
#1A2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1A2E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A2E7E
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A2E7E | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1a2e7e; /* rgb */ color: rgb(26, 46, 126); /* oklch */ color: oklch(34.1% 0.137 267.5);
Tailwind
colors: {
custom: {
50: '#6866a4',
500: '#1a2e7e',
950: '#000000',
},
}SCSS
$custom: #1a2e7e; $custom-light: #6866a4; $custom-dark: #000000;
JSON
{
"hex": "#1a2e7e",
"rgb": {
"r": 26,
"g": 46,
"b": 126
},
"hsl": {
"h": 228,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.34147,
"c": 0.13742,
"h": 267.5
},
"luminance": 0.0368
}Semantic roles & 50–950 ramp
primary
#1A2E7E
secondary
#B29C42
accent
#C73FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F