#2A519C#2A519C
#2A519C is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.130 H 261.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A519C |
|---|---|
| RGB | rgb(42, 81, 156) |
| HSL | hsl(219, 58%, 39%) |
| HSV | hsv(219, 73%, 61%) |
| CMYK | cmyk(73.1%, 48.1%, 0%, 38.8%) |
| CIE-LAB | lab(35.55, 13.02, -44.94) |
| CIE-LCH | lch(35.55, 46.79, 286.16°) |
| OKLab | oklab(44.87% -0.0183 -0.1289) |
| OKLCH | oklch(44.87% 0.13 261.9) |
| XYZ | xyz(9.8959, 8.7763, 32.6185) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.74
Cobalt (survey)
#1E488F
ΔE00 3.24
Denim Blue
#3B5B92
ΔE00 3.77
Sapphire
#0F52BA
ΔE00 3.79
Cobalt
#0047AB
ΔE00 3.98
Light Navy Blue
#2E5A88
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A519C #9C752A
analogous
#2A8A9C #2A519C #3C2A9C
triadic
#2A519C #9C2A51 #519C2A
tetradic
#2A519C #9C2A8A #9C752A #2A9C3C
square
#2A519C #9C2A8A #9C752A #2A9C3C
split-complementary
#2A519C #9C3C2A #8A9C2A
monochromatic
#101F3C #1D386C #2A519C #396BCA #6A8FD7
Accessibility & contrast
On white
7.62
#2A519C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2A519C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A519C
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A519C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A519C | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29599F
Deuteranopia (green-blind)
#0C4F9A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2a519c; /* rgb */ color: rgb(42, 81, 156); /* oklch */ color: oklch(44.9% 0.130 261.9);
Tailwind
colors: {
custom: {
50: '#7381ba',
500: '#2a519c',
950: '#000000',
},
}SCSS
$custom: #2a519c; $custom-light: #7381ba; $custom-dark: #000000;
JSON
{
"hex": "#2a519c",
"rgb": {
"r": 42,
"g": 81,
"b": 156
},
"hsl": {
"h": 219.474,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.44871,
"c": 0.13018,
"h": 261.9
},
"luminance": 0.08777
}Semantic roles & 50–950 ramp
primary
#2A519C
secondary
#BD9F65
accent
#AC47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80