#2A58BC#2A58BC
#2A58BC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.166 H 263.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58BC |
|---|---|
| RGB | rgb(42, 88, 188) |
| HSL | hsl(221, 63%, 45%) |
| HSV | hsv(221, 78%, 74%) |
| CMYK | cmyk(77.7%, 53.2%, 0%, 26.3%) |
| CIE-LAB | lab(39.75, 20.69, -57.14) |
| CIE-LCH | lch(39.75, 60.77, 289.91°) |
| OKLab | oklab(48.78% -0.02 -0.1646) |
| OKLCH | oklch(48.78% 0.166 263.1) |
| XYZ | xyz(13.5184, 11.1010, 48.9974) |
| Luminance | 0.1110 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.29
Denim
#1560BD
ΔE00 3.88
Denim Blue
#3B5B92
ΔE00 5.40
Cobalt
#0047AB
ΔE00 5.86
Azul
#1D5DEC
ΔE00 6.13
Dusk Blue
#26538D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58BC #BC8E2A
analogous
#2AA1BC #2A58BC #452ABC
triadic
#2A58BC #BC2A58 #58BC2A
tetradic
#2A58BC #BC2AA1 #BC8E2A #2ABC45
square
#2A58BC #BC2AA1 #BC8E2A #2ABC45
split-complementary
#2A58BC #BC452A #A1BC2A
monochromatic
#142958 #1F418A #2A58BC #4C78D7 #7E9EE2
Accessibility & contrast
On white
6.52
#2A58BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2A58BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58BC
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58BC | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B65C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2a58bc; /* rgb */ color: rgb(42, 88, 188); /* oklch */ color: oklch(48.8% 0.166 263.1);
Tailwind
colors: {
custom: {
50: '#7a86d1',
500: '#2a58bc',
950: '#000000',
},
}SCSS
$custom: #2a58bc; $custom-light: #7a86d1; $custom-dark: #000000;
JSON
{
"hex": "#2a58bc",
"rgb": {
"r": 42,
"g": 88,
"b": 188
},
"hsl": {
"h": 221.096,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.48783,
"c": 0.16586,
"h": 263.1
},
"luminance": 0.11103
}Semantic roles & 50–950 ramp
primary
#2A58BC
secondary
#CBB077
accent
#B241E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82