#2A58B1#2A58B1
#2A58B1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.151 H 261.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58B1 |
|---|---|
| RGB | rgb(42, 88, 177) |
| HSL | hsl(220, 62%, 43%) |
| HSV | hsv(220, 76%, 69%) |
| CMYK | cmyk(76.3%, 50.3%, 0%, 30.6%) |
| CIE-LAB | lab(38.98, 16.47, -51.94) |
| CIE-LCH | lch(38.98, 54.49, 287.60°) |
| OKLab | oklab(47.95% -0.0213 -0.1493) |
| OKLCH | oklch(47.95% 0.151 261.9) |
| XYZ | xyz(12.3775, 10.6446, 42.9887) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.35
Denim
#1560BD
ΔE00 3.67
Denim Blue
#3B5B92
ΔE00 4.17
Dusk Blue
#26538D
ΔE00 4.87
Light Navy Blue
#2E5A88
ΔE00 5.26
Dusky Blue
#475F94
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58B1 #B1832A
analogous
#2A9BB1 #2A58B1 #402AB1
triadic
#2A58B1 #B12A58 #58B12A
tetradic
#2A58B1 #B12A9B #B1832A #2AB140
square
#2A58B1 #B12A9B #B1832A #2AB140
split-complementary
#2A58B1 #B1402A #9BB12A
monochromatic
#13274E #1E3F80 #2A58B1 #4576D3 #779ADF
Accessibility & contrast
On white
6.71
#2A58B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#2A58B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58B1
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58B1 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2262B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a58b1; /* rgb */ color: rgb(42, 88, 177); /* oklch */ color: oklch(47.9% 0.151 261.9);
Tailwind
colors: {
custom: {
50: '#7786c9',
500: '#2a58b1',
950: '#000000',
},
}SCSS
$custom: #2a58b1; $custom-light: #7786c9; $custom-dark: #000000;
JSON
{
"hex": "#2a58b1",
"rgb": {
"r": 42,
"g": 88,
"b": 177
},
"hsl": {
"h": 219.556,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.47947,
"c": 0.15084,
"h": 261.9
},
"luminance": 0.10646
}Semantic roles & 50–950 ramp
primary
#2A58B1
secondary
#C6A970
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82