#2A58A1#2A58A1
#2A58A1 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.129 H 259.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58A1 |
|---|---|
| RGB | rgb(42, 88, 161) |
| HSL | hsl(217, 59%, 40%) |
| HSV | hsv(217, 74%, 63%) |
| CMYK | cmyk(73.9%, 45.3%, 0%, 36.9%) |
| CIE-LAB | lab(37.92, 10.32, -44.14) |
| CIE-LCH | lch(37.92, 45.33, 283.16°) |
| OKLab | oklab(46.8% -0.0238 -0.1264) |
| OKLCH | oklch(46.8% 0.129 259.3) |
| XYZ | xyz(10.8753, 10.0437, 35.0768) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.75
Dusk Blue
#26538D
ΔE00 2.94
Light Navy Blue
#2E5A88
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 3.71
Denim
#1560BD
ΔE00 4.25
Dusky Blue
#475F94
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58A1 #A1732A
analogous
#2A93A1 #2A58A1 #382AA1
triadic
#2A58A1 #A12A58 #58A12A
tetradic
#2A58A1 #A12A93 #A1732A #2AA138
square
#2A58A1 #A12A93 #A1732A #2AA138
split-complementary
#2A58A1 #A1382A #93A12A
monochromatic
#112340 #1D3D70 #2A58A1 #3C74CC #6D96D9
Accessibility & contrast
On white
6.98
#2A58A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#2A58A1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58A1
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58A1 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#1B54A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2a58a1; /* rgb */ color: rgb(42, 88, 161); /* oklch */ color: oklch(46.8% 0.129 259.3);
Tailwind
colors: {
custom: {
50: '#7486bd',
500: '#2a58a1',
950: '#000000',
},
}SCSS
$custom: #2a58a1; $custom-light: #7486bd; $custom-dark: #000000;
JSON
{
"hex": "#2a58a1",
"rgb": {
"r": 42,
"g": 88,
"b": 161
},
"hsl": {
"h": 216.807,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.46799,
"c": 0.12861,
"h": 259.3
},
"luminance": 0.10045
}Semantic roles & 50–950 ramp
primary
#2A58A1
secondary
#C09D67
accent
#A646E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81