#2A58A6#2A58A6
#2A58A6 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.136 H 260.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58A6 |
|---|---|
| RGB | rgb(42, 88, 166) |
| HSL | hsl(218, 60%, 41%) |
| HSV | hsv(218, 75%, 65%) |
| CMYK | cmyk(74.7%, 47%, 0%, 34.9%) |
| CIE-LAB | lab(38.24, 12.24, -46.60) |
| CIE-LCH | lch(38.24, 48.19, 284.72°) |
| OKLab | oklab(47.15% -0.0229 -0.1336) |
| OKLCH | oklch(47.15% 0.136 260.3) |
| XYZ | xyz(11.3250, 10.2236, 37.4455) |
| Luminance | 0.1022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.11
Sapphire
#0F52BA
ΔE00 3.21
Dusk Blue
#26538D
ΔE00 3.52
Denim
#1560BD
ΔE00 3.97
Light Navy Blue
#2E5A88
ΔE00 4.06
Dusky Blue
#475F94
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58A6 #A6782A
analogous
#2A96A6 #2A58A6 #3A2AA6
triadic
#2A58A6 #A62A58 #58A62A
tetradic
#2A58A6 #A62A96 #A6782A #2AA63A
square
#2A58A6 #A62A96 #A6782A #2AA63A
split-complementary
#2A58A6 #A63A2A #96A62A
monochromatic
#112444 #1E3E75 #2A58A6 #3F74CE #7097DB
Accessibility & contrast
On white
6.90
#2A58A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2A58A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58A6
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58A6 | 1.00 | 6.90 | 3.05 | 6.90 |
| #FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F60A9
Deuteranopia (green-blind)
#1155A4
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a58a6; /* rgb */ color: rgb(42, 88, 166); /* oklch */ color: oklch(47.1% 0.136 260.3);
Tailwind
colors: {
custom: {
50: '#7586c1',
500: '#2a58a6',
950: '#000000',
},
}SCSS
$custom: #2a58a6; $custom-light: #7586c1; $custom-dark: #000000;
JSON
{
"hex": "#2a58a6",
"rgb": {
"r": 42,
"g": 88,
"b": 166
},
"hsl": {
"h": 217.742,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.47149,
"c": 0.1356,
"h": 260.3
},
"luminance": 0.10225
}Semantic roles & 50–950 ramp
primary
#2A58A6
secondary
#C2A16A
accent
#A845E3
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81