#2A58B6#2A58B6
#2A58B6 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.158 H 262.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2A58B6 |
|---|---|
| RGB | rgb(42, 88, 182) |
| HSL | hsl(220, 63%, 44%) |
| HSV | hsv(220, 77%, 71%) |
| CMYK | cmyk(76.9%, 51.6%, 0%, 28.6%) |
| CIE-LAB | lab(39.32, 18.39, -54.32) |
| CIE-LCH | lch(39.32, 57.35, 288.71°) |
| OKLab | oklab(48.32% -0.0206 -0.1563) |
| OKLCH | oklch(48.32% 0.158 262.5) |
| XYZ | xyz(12.8850, 10.8476, 45.6616) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.19
Denim
#1560BD
ΔE00 3.70
Denim Blue
#3B5B92
ΔE00 4.71
Dusk Blue
#26538D
ΔE00 5.50
Cobalt
#0047AB
ΔE00 5.62
Light Navy Blue
#2E5A88
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A58B6 #B6882A
analogous
#2A9EB6 #2A58B6 #422AB6
triadic
#2A58B6 #B62A58 #58B62A
tetradic
#2A58B6 #B62A9E #B6882A #2AB642
square
#2A58B6 #B62A9E #B6882A #2AB642
split-complementary
#2A58B6 #B6422A #9EB62A
monochromatic
#132853 #1F4084 #2A58B6 #4877D5 #7A9CE0
Accessibility & contrast
On white
6.63
#2A58B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#2A58B6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A58B6
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A58B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A58B6 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A63B9
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a58b6; /* rgb */ color: rgb(42, 88, 182); /* oklch */ color: oklch(48.3% 0.158 262.5);
Tailwind
colors: {
custom: {
50: '#7886cc',
500: '#2a58b6',
950: '#000000',
},
}SCSS
$custom: #2a58b6; $custom-light: #7886cc; $custom-dark: #000000;
JSON
{
"hex": "#2a58b6",
"rgb": {
"r": 42,
"g": 88,
"b": 182
},
"hsl": {
"h": 220.286,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.48323,
"c": 0.1577,
"h": 262.5
},
"luminance": 0.10849
}Semantic roles & 50–950 ramp
primary
#2A58B6
secondary
#C8AC73
accent
#B042E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82