#2A58B8#2A58B8
#2A58B8 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.160 H 262.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58B8 |
|---|---|
| RGB | rgb(42, 88, 184) |
| HSL | hsl(221, 63%, 44%) |
| HSV | hsv(221, 77%, 72%) |
| CMYK | cmyk(77.2%, 52.2%, 0%, 27.8%) |
| CIE-LAB | lab(39.46, 19.16, -55.26) |
| CIE-LCH | lch(39.46, 58.49, 289.12°) |
| OKLab | oklab(48.48% -0.0204 -0.1591) |
| OKLCH | oklch(48.48% 0.16 262.7) |
| XYZ | xyz(13.0932, 10.9309, 46.7579) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.19
Denim
#1560BD
ΔE00 3.75
Denim Blue
#3B5B92
ΔE00 4.94
Cobalt
#0047AB
ΔE00 5.68
Dusk Blue
#26538D
ΔE00 5.76
Dusky Blue
#475F94
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58B8 #B88A2A
analogous
#2A9FB8 #2A58B8 #432AB8
triadic
#2A58B8 #B82A58 #58B82A
tetradic
#2A58B8 #B82A9F #B88A2A #2AB843
square
#2A58B8 #B82A9F #B88A2A #2AB843
split-complementary
#2A58B8 #B8432A #9FB82A
monochromatic
#132854 #1F4086 #2A58B8 #4A77D6 #7B9CE1
Accessibility & contrast
On white
6.59
#2A58B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#2A58B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58B8
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58B8 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1664BB
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a58b8; /* rgb */ color: rgb(42, 88, 184); /* oklch */ color: oklch(48.5% 0.160 262.7);
Tailwind
colors: {
custom: {
50: '#7986ce',
500: '#2a58b8',
950: '#000000',
},
}SCSS
$custom: #2a58b8; $custom-light: #7986ce; $custom-dark: #000000;
JSON
{
"hex": "#2a58b8",
"rgb": {
"r": 42,
"g": 88,
"b": 184
},
"hsl": {
"h": 220.563,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.48475,
"c": 0.16043,
"h": 262.7
},
"luminance": 0.10932
}Semantic roles & 50–950 ramp
primary
#2A58B8
secondary
#C9AE75
accent
#B142E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82