#2A58B7#2A58B7
#2A58B7 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.4% C 0.159 H 262.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58B7 |
|---|---|
| RGB | rgb(42, 88, 183) |
| HSL | hsl(220, 63%, 44%) |
| HSV | hsv(220, 77%, 72%) |
| CMYK | cmyk(77%, 51.9%, 0%, 28.2%) |
| CIE-LAB | lab(39.39, 18.78, -54.79) |
| CIE-LCH | lch(39.39, 57.92, 288.92°) |
| OKLab | oklab(48.4% -0.0205 -0.1577) |
| OKLCH | oklch(48.4% 0.159 262.6) |
| XYZ | xyz(12.9887, 10.8891, 46.2078) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.19
Denim
#1560BD
ΔE00 3.72
Denim Blue
#3B5B92
ΔE00 4.83
Dusk Blue
#26538D
ΔE00 5.63
Cobalt
#0047AB
ΔE00 5.65
Light Navy Blue
#2E5A88
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58B7 #B7892A
analogous
#2A9FB7 #2A58B7 #432AB7
triadic
#2A58B7 #B72A58 #58B72A
tetradic
#2A58B7 #B72A9F #B7892A #2AB743
square
#2A58B7 #B72A9F #B7892A #2AB743
split-complementary
#2A58B7 #B7432A #9FB72A
monochromatic
#132853 #1F4085 #2A58B7 #4977D5 #7B9CE1
Accessibility & contrast
On white
6.61
#2A58B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2A58B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58B7
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58B7 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1864BA
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a58b7; /* rgb */ color: rgb(42, 88, 183); /* oklch */ color: oklch(48.4% 0.159 262.6);
Tailwind
colors: {
custom: {
50: '#7986cd',
500: '#2a58b7',
950: '#000000',
},
}SCSS
$custom: #2a58b7; $custom-light: #7986cd; $custom-dark: #000000;
JSON
{
"hex": "#2a58b7",
"rgb": {
"r": 42,
"g": 88,
"b": 183
},
"hsl": {
"h": 220.426,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.48399,
"c": 0.15907,
"h": 262.6
},
"luminance": 0.10891
}Semantic roles & 50–950 ramp
primary
#2A58B7
secondary
#C9AD74
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82