#2A58C3#2A58C3
#2A58C3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.175 H 263.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58C3 |
|---|---|
| RGB | rgb(42, 88, 195) |
| HSL | hsl(222, 65%, 46%) |
| HSV | hsv(222, 78%, 76%) |
| CMYK | cmyk(78.5%, 54.9%, 0%, 23.5%) |
| CIE-LAB | lab(40.26, 23.37, -60.39) |
| CIE-LCH | lch(40.26, 64.75, 291.15°) |
| OKLab | oklab(49.33% -0.0194 -0.1742) |
| OKLCH | oklch(49.33% 0.175 263.7) |
| XYZ | xyz(14.2914, 11.4102, 53.0683) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.74
Denim
#1560BD
ΔE00 4.26
Azul
#1D5DEC
ΔE00 5.27
Warm Blue
#4B57DB
ΔE00 5.87
Denim Blue
#3B5B92
ΔE00 6.21
Cobalt
#0047AB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58C3 #C3952A
analogous
#2AA5C3 #2A58C3 #492AC3
triadic
#2A58C3 #C32A58 #58C32A
tetradic
#2A58C3 #C32AA5 #C3952A #2AC349
square
#2A58C3 #C32AA5 #C3952A #2AC349
split-complementary
#2A58C3 #C3492A #A5C32A
monochromatic
#142B5E #1F4191 #2A58C3 #517AD9 #83A0E4
Accessibility & contrast
On white
6.40
#2A58C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#2A58C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58C3
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58C3 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a58c3; /* rgb */ color: rgb(42, 88, 195); /* oklch */ color: oklch(49.3% 0.175 263.7);
Tailwind
colors: {
custom: {
50: '#7b86d6',
500: '#2a58c3',
950: '#000000',
},
}SCSS
$custom: #2a58c3; $custom-light: #7b86d6; $custom-dark: #000000;
JSON
{
"hex": "#2a58c3",
"rgb": {
"r": 42,
"g": 88,
"b": 195
},
"hsl": {
"h": 221.961,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.49334,
"c": 0.17527,
"h": 263.7
},
"luminance": 0.11412
}Semantic roles & 50–950 ramp
primary
#2A58C3
secondary
#CDB57B
accent
#B540E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83