#2A58B2#2A58B2
#2A58B2 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.152 H 262.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58B2 |
|---|---|
| RGB | rgb(42, 88, 178) |
| HSL | hsl(220, 62%, 43%) |
| HSV | hsv(220, 76%, 70%) |
| CMYK | cmyk(76.4%, 50.6%, 0%, 30.2%) |
| CIE-LAB | lab(39.04, 16.86, -52.42) |
| CIE-LCH | lch(39.04, 55.06, 287.83°) |
| OKLab | oklab(48.02% -0.0211 -0.1507) |
| OKLCH | oklch(48.02% 0.152 262) |
| XYZ | xyz(12.4776, 10.6846, 43.5156) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.30
Denim
#1560BD
ΔE00 3.67
Denim Blue
#3B5B92
ΔE00 4.28
Dusk Blue
#26538D
ΔE00 5.00
Light Navy Blue
#2E5A88
ΔE00 5.38
Cobalt
#0047AB
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58B2 #B2842A
analogous
#2A9CB2 #2A58B2 #402AB2
triadic
#2A58B2 #B22A58 #58B22A
tetradic
#2A58B2 #B22A9C #B2842A #2AB240
square
#2A58B2 #B22A9C #B2842A #2AB240
split-complementary
#2A58B2 #B2402A #9CB22A
monochromatic
#13274F #1E4080 #2A58B2 #4676D3 #779ADF
Accessibility & contrast
On white
6.69
#2A58B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2A58B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58B2
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58B2 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2163B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a58b2; /* rgb */ color: rgb(42, 88, 178); /* oklch */ color: oklch(48.0% 0.152 262.0);
Tailwind
colors: {
custom: {
50: '#7786ca',
500: '#2a58b2',
950: '#000000',
},
}SCSS
$custom: #2a58b2; $custom-light: #7786ca; $custom-dark: #000000;
JSON
{
"hex": "#2a58b2",
"rgb": {
"r": 42,
"g": 88,
"b": 178
},
"hsl": {
"h": 219.706,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.48022,
"c": 0.15222,
"h": 262
},
"luminance": 0.10686
}Semantic roles & 50–950 ramp
primary
#2A58B2
secondary
#C7AA71
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82