#2A58C2#2A58C2
#2A58C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.174 H 263.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58C2 |
|---|---|
| RGB | rgb(42, 88, 194) |
| HSL | hsl(222, 64%, 46%) |
| HSV | hsv(222, 78%, 76%) |
| CMYK | cmyk(78.4%, 54.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.19, 22.98, -59.93) |
| CIE-LCH | lch(40.19, 64.18, 290.98°) |
| OKLab | oklab(49.25% -0.0194 -0.1728) |
| OKLCH | oklch(49.25% 0.174 263.6) |
| XYZ | xyz(14.1787, 11.3651, 52.4749) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.66
Denim
#1560BD
ΔE00 4.20
Azul
#1D5DEC
ΔE00 5.39
Warm Blue
#4B57DB
ΔE00 5.99
Denim Blue
#3B5B92
ΔE00 6.09
Cobalt
#0047AB
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58C2 #C2942A
analogous
#2AA4C2 #2A58C2 #482AC2
triadic
#2A58C2 #C22A58 #58C22A
tetradic
#2A58C2 #C22AA4 #C2942A #2AC248
square
#2A58C2 #C22AA4 #C2942A #2AC248
split-complementary
#2A58C2 #C2482A #A4C22A
monochromatic
#142A5D #1F4190 #2A58C2 #507AD9 #82A0E4
Accessibility & contrast
On white
6.42
#2A58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2A58C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58C2
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58C2 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a58c2; /* rgb */ color: rgb(42, 88, 194); /* oklch */ color: oklch(49.3% 0.174 263.6);
Tailwind
colors: {
custom: {
50: '#7b86d5',
500: '#2a58c2',
950: '#000000',
},
}SCSS
$custom: #2a58c2; $custom-light: #7b86d5; $custom-dark: #000000;
JSON
{
"hex": "#2a58c2",
"rgb": {
"r": 42,
"g": 88,
"b": 194
},
"hsl": {
"h": 221.842,
"s": 64.407,
"l": 46.275
},
"oklch": {
"l": 0.49254,
"c": 0.17394,
"h": 263.6
},
"luminance": 0.11367
}Semantic roles & 50–950 ramp
primary
#2A58C2
secondary
#CDB47B
accent
#B540E7
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83