#2A519A#2A519A
#2A519A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.7% C 0.127 H 261.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A519A |
|---|---|
| RGB | rgb(42, 81, 154) |
| HSL | hsl(219, 57%, 38%) |
| HSV | hsv(219, 73%, 60%) |
| CMYK | cmyk(72.7%, 47.4%, 0%, 39.6%) |
| CIE-LAB | lab(35.42, 12.25, -43.95) |
| CIE-LCH | lch(35.42, 45.63, 285.58°) |
| OKLab | oklab(44.73% -0.0186 -0.126) |
| OKLCH | oklch(44.73% 0.127 261.6) |
| XYZ | xyz(9.7279, 8.7092, 31.7339) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.50
Cobalt (survey)
#1E488F
ΔE00 3.13
Denim Blue
#3B5B92
ΔE00 3.69
Sapphire
#0F52BA
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.12
Light Navy Blue
#2E5A88
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A519A #9A732A
analogous
#2A899A #2A519A #3B2A9A
triadic
#2A519A #9A2A51 #519A2A
tetradic
#2A519A #9A2A89 #9A732A #2A9A3B
square
#2A519A #9A2A89 #9A732A #2A9A3B
split-complementary
#2A519A #9A3B2A #899A2A
monochromatic
#101E3A #1D386A #2A519A #386BC9 #688FD6
Accessibility & contrast
On white
7.66
#2A519A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2A519A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A519A
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A519A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A519A | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B599D
Deuteranopia (green-blind)
#114E99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a519a; /* rgb */ color: rgb(42, 81, 154); /* oklch */ color: oklch(44.7% 0.127 261.6);
Tailwind
colors: {
custom: {
50: '#7281b8',
500: '#2a519a',
950: '#000000',
},
}SCSS
$custom: #2a519a; $custom-light: #7281b8; $custom-dark: #000000;
JSON
{
"hex": "#2a519a",
"rgb": {
"r": 42,
"g": 81,
"b": 154
},
"hsl": {
"h": 219.107,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.44727,
"c": 0.12734,
"h": 261.6
},
"luminance": 0.0871
}Semantic roles & 50–950 ramp
primary
#2A519A
secondary
#BC9D63
accent
#AB47E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80