#2A58A4#2A58A4
#2A58A4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.133 H 259.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58A4 |
|---|---|
| RGB | rgb(42, 88, 164) |
| HSL | hsl(217, 59%, 40%) |
| HSV | hsv(217, 74%, 64%) |
| CMYK | cmyk(74.4%, 46.3%, 0%, 35.7%) |
| CIE-LAB | lab(38.11, 11.47, -45.62) |
| CIE-LCH | lch(38.11, 47.04, 284.12°) |
| OKLab | oklab(47.01% -0.0233 -0.1307) |
| OKLCH | oklch(47.01% 0.133 259.9) |
| XYZ | xyz(11.1430, 10.1508, 36.4868) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.95
Dusk Blue
#26538D
ΔE00 3.29
Sapphire
#0F52BA
ΔE00 3.41
Light Navy Blue
#2E5A88
ΔE00 3.84
Denim
#1560BD
ΔE00 4.08
Dusky Blue
#475F94
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58A4 #A4762A
analogous
#2A95A4 #2A58A4 #392AA4
triadic
#2A58A4 #A42A58 #58A42A
tetradic
#2A58A4 #A42A95 #A4762A #2AA439
square
#2A58A4 #A42A95 #A4762A #2AA439
split-complementary
#2A58A4 #A4392A #95A42A
monochromatic
#112443 #1E3E73 #2A58A4 #3E74CD #6E97DA
Accessibility & contrast
On white
6.93
#2A58A4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2A58A4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58A4
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58A4 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#1654A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a58a4; /* rgb */ color: rgb(42, 88, 164); /* oklch */ color: oklch(47.0% 0.133 259.9);
Tailwind
colors: {
custom: {
50: '#7486bf',
500: '#2a58a4',
950: '#000000',
},
}SCSS
$custom: #2a58a4; $custom-light: #7486bf; $custom-dark: #000000;
JSON
{
"hex": "#2a58a4",
"rgb": {
"r": 42,
"g": 88,
"b": 164
},
"hsl": {
"h": 217.377,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.47008,
"c": 0.1328,
"h": 259.9
},
"luminance": 0.10152
}Semantic roles & 50–950 ramp
primary
#2A58A4
secondary
#C1A069
accent
#A745E2
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81