#1A337E#1A337E
#1A337E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.131 H 265.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1A337E |
|---|---|
| RGB | rgb(26, 51, 126) |
| HSL | hsl(225, 66%, 30%) |
| HSV | hsv(225, 79%, 49%) |
| CMYK | cmyk(79.4%, 59.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.98, 19.60, -45.22) |
| CIE-LCH | lch(23.98, 49.28, 293.43°) |
| OKLab | oklab(35.19% -0.0095 -0.1305) |
| OKLCH | oklch(35.19% 0.131 265.8) |
| XYZ | xyz(5.3744, 4.0930, 20.2414) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.42
Marine Blue
#01386A
ΔE00 5.84
Darkish Blue
#014182
ΔE00 6.21
Sapphire (survey)
#2138AB
ΔE00 6.86
Cobalt (survey)
#1E488F
ΔE00 7.10
Twilight Blue
#0A437A
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A337E #7E651A
analogous
#1A657E #1A337E #331A7E
triadic
#1A337E #7E1A33 #337E1A
tetradic
#1A337E #7E1A65 #7E651A #1A7E33
square
#1A337E #7E1A65 #7E651A #1A7E33
split-complementary
#1A337E #7E331A #657E1A
monochromatic
#050A19 #101E4B #1A337E #2448B1 #3C62D7
Accessibility & contrast
On white
11.55
#1A337E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1A337E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A337E
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A337E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A337E | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1a337e; /* rgb */ color: rgb(26, 51, 126); /* oklch */ color: oklch(35.2% 0.131 265.8);
Tailwind
colors: {
custom: {
50: '#676aa4',
500: '#1a337e',
950: '#000000',
},
}SCSS
$custom: #1a337e; $custom-light: #676aa4; $custom-dark: #000000;
JSON
{
"hex": "#1a337e",
"rgb": {
"r": 26,
"g": 51,
"b": 126
},
"hsl": {
"h": 225,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.35188,
"c": 0.13089,
"h": 265.8
},
"luminance": 0.04094
}Semantic roles & 50–950 ramp
primary
#1A337E
secondary
#B29642
accent
#BE3FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F