#2A58B9#2A58B9
#2A58B9 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.162 H 262.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58B9 |
|---|---|
| RGB | rgb(42, 88, 185) |
| HSL | hsl(221, 63%, 45%) |
| HSV | hsv(221, 77%, 73%) |
| CMYK | cmyk(77.3%, 52.4%, 0%, 27.5%) |
| CIE-LAB | lab(39.53, 19.54, -55.73) |
| CIE-LCH | lch(39.53, 59.06, 289.32°) |
| OKLab | oklab(48.55% -0.0203 -0.1605) |
| OKLCH | oklch(48.55% 0.162 262.8) |
| XYZ | xyz(13.1984, 10.9730, 47.3119) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.20
Denim
#1560BD
ΔE00 3.78
Denim Blue
#3B5B92
ΔE00 5.05
Cobalt
#0047AB
ΔE00 5.72
Dusk Blue
#26538D
ΔE00 5.88
Dusky Blue
#475F94
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58B9 #B98B2A
analogous
#2AA0B9 #2A58B9 #432AB9
triadic
#2A58B9 #B92A58 #58B92A
tetradic
#2A58B9 #B92AA0 #B98B2A #2AB943
square
#2A58B9 #B92AA0 #B98B2A #2AB943
split-complementary
#2A58B9 #B9432A #A0B92A
monochromatic
#132955 #1F4087 #2A58B9 #4A77D6 #7C9DE1
Accessibility & contrast
On white
6.57
#2A58B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2A58B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58B9
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58B9 | 1.00 | 6.57 | 3.19 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1464BC
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a58b9; /* rgb */ color: rgb(42, 88, 185); /* oklch */ color: oklch(48.6% 0.162 262.8);
Tailwind
colors: {
custom: {
50: '#7986cf',
500: '#2a58b9',
950: '#000000',
},
}SCSS
$custom: #2a58b9; $custom-light: #7986cf; $custom-dark: #000000;
JSON
{
"hex": "#2a58b9",
"rgb": {
"r": 42,
"g": 88,
"b": 185
},
"hsl": {
"h": 220.699,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.48552,
"c": 0.16179,
"h": 262.8
},
"luminance": 0.10974
}Semantic roles & 50–950 ramp
primary
#2A58B9
secondary
#CAAE75
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82