#2A58A7#2A58A7
#2A58A7 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.137 H 260.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58A7 |
|---|---|
| RGB | rgb(42, 88, 167) |
| HSL | hsl(218, 60%, 41%) |
| HSV | hsv(218, 75%, 65%) |
| CMYK | cmyk(74.9%, 47.3%, 0%, 34.5%) |
| CIE-LAB | lab(38.31, 12.63, -47.09) |
| CIE-LCH | lch(38.31, 48.76, 285.01°) |
| OKLab | oklab(47.22% -0.0227 -0.1351) |
| OKLCH | oklch(47.22% 0.137 260.4) |
| XYZ | xyz(11.4171, 10.2604, 37.9305) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.12
Denim Blue
#3B5B92
ΔE00 3.19
Dusk Blue
#26538D
ΔE00 3.64
Denim
#1560BD
ΔE00 3.93
Light Navy Blue
#2E5A88
ΔE00 4.17
Dusky Blue
#475F94
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58A7 #A7792A
analogous
#2A96A7 #2A58A7 #3A2AA7
triadic
#2A58A7 #A72A58 #58A72A
tetradic
#2A58A7 #A72A96 #A7792A #2AA73A
square
#2A58A7 #A72A96 #A7792A #2AA73A
split-complementary
#2A58A7 #A73A2A #96A72A
monochromatic
#112445 #1E3E76 #2A58A7 #3F74CF #7098DB
Accessibility & contrast
On white
6.88
#2A58A7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2A58A7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58A7
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58A7 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E60AA
Deuteranopia (green-blind)
#0E55A5
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a58a7; /* rgb */ color: rgb(42, 88, 167); /* oklch */ color: oklch(47.2% 0.137 260.4);
Tailwind
colors: {
custom: {
50: '#7586c2',
500: '#2a58a7',
950: '#000000',
},
}SCSS
$custom: #2a58a7; $custom-light: #7586c2; $custom-dark: #000000;
JSON
{
"hex": "#2a58a7",
"rgb": {
"r": 42,
"g": 88,
"b": 167
},
"hsl": {
"h": 217.92,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.4722,
"c": 0.13699,
"h": 260.4
},
"luminance": 0.10262
}Semantic roles & 50–950 ramp
primary
#2A58A7
secondary
#C2A26B
accent
#A945E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81