#2A58B0#2A58B0
#2A58B0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.149 H 261.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58B0 |
|---|---|
| RGB | rgb(42, 88, 176) |
| HSL | hsl(219, 61%, 43%) |
| HSV | hsv(219, 76%, 69%) |
| CMYK | cmyk(76.1%, 50%, 0%, 31%) |
| CIE-LAB | lab(38.91, 16.09, -51.46) |
| CIE-LCH | lch(38.91, 53.91, 287.36°) |
| OKLab | oklab(47.87% -0.0214 -0.1479) |
| OKLCH | oklch(47.87% 0.149 261.8) |
| XYZ | xyz(12.2782, 10.6049, 42.4657) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.41
Denim
#1560BD
ΔE00 3.68
Denim Blue
#3B5B92
ΔE00 4.06
Dusk Blue
#26538D
ΔE00 4.75
Light Navy Blue
#2E5A88
ΔE00 5.16
Dusky Blue
#475F94
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58B0 #B0822A
analogous
#2A9BB0 #2A58B0 #3F2AB0
triadic
#2A58B0 #B02A58 #58B02A
tetradic
#2A58B0 #B02A9B #B0822A #2AB03F
square
#2A58B0 #B02A9B #B0822A #2AB03F
split-complementary
#2A58B0 #B03F2A #9BB02A
monochromatic
#12274D #1E3F7F #2A58B0 #4575D3 #769ADE
Accessibility & contrast
On white
6.73
#2A58B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2A58B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58B0
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58B0 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2462B3
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2a58b0; /* rgb */ color: rgb(42, 88, 176); /* oklch */ color: oklch(47.9% 0.149 261.8);
Tailwind
colors: {
custom: {
50: '#7786c8',
500: '#2a58b0',
950: '#000000',
},
}SCSS
$custom: #2a58b0; $custom-light: #7786c8; $custom-dark: #000000;
JSON
{
"hex": "#2a58b0",
"rgb": {
"r": 42,
"g": 88,
"b": 176
},
"hsl": {
"h": 219.403,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.47873,
"c": 0.14947,
"h": 261.8
},
"luminance": 0.10606
}Semantic roles & 50–950 ramp
primary
#2A58B0
secondary
#C6A870
accent
#AD43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82