#2A519B#2A519B
#2A519B is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.8% C 0.129 H 261.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2A519B |
|---|---|
| RGB | rgb(42, 81, 155) |
| HSL | hsl(219, 57%, 39%) |
| HSV | hsv(219, 73%, 61%) |
| CMYK | cmyk(72.9%, 47.7%, 0%, 39.2%) |
| CIE-LAB | lab(35.48, 12.64, -44.45) |
| CIE-LCH | lch(35.48, 46.21, 285.87°) |
| OKLab | oklab(44.8% -0.0184 -0.1274) |
| OKLCH | oklch(44.8% 0.129 261.8) |
| XYZ | xyz(9.8116, 8.7426, 32.1744) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 2.62
Cobalt (survey)
#1E488F
ΔE00 3.18
Denim Blue
#3B5B92
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 3.90
Cobalt
#0047AB
ΔE00 4.05
Light Navy Blue
#2E5A88
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A519B #9B742A
analogous
#2A899B #2A519B #3B2A9B
triadic
#2A519B #9B2A51 #519B2A
tetradic
#2A519B #9B2A89 #9B742A #2A9B3B
square
#2A519B #9B2A89 #9B742A #2A9B3B
split-complementary
#2A519B #9B3B2A #899B2A
monochromatic
#101F3B #1D386B #2A519B #396BC9 #698FD6
Accessibility & contrast
On white
7.64
#2A519B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2A519B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A519B
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A519B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A519B | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#0F4F99
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a519b; /* rgb */ color: rgb(42, 81, 155); /* oklch */ color: oklch(44.8% 0.129 261.8);
Tailwind
colors: {
custom: {
50: '#7381b9',
500: '#2a519b',
950: '#000000',
},
}SCSS
$custom: #2a519b; $custom-light: #7381b9; $custom-dark: #000000;
JSON
{
"hex": "#2a519b",
"rgb": {
"r": 42,
"g": 81,
"b": 155
},
"hsl": {
"h": 219.292,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.44799,
"c": 0.12876,
"h": 261.8
},
"luminance": 0.08744
}Semantic roles & 50–950 ramp
primary
#2A519B
secondary
#BD9E64
accent
#AC47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80