#2D58C2#2D58C2
#2D58C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.173 H 264.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2D58C2 |
|---|---|
| RGB | rgb(45, 88, 194) |
| HSL | hsl(223, 62%, 47%) |
| HSV | hsv(223, 77%, 76%) |
| CMYK | cmyk(76.8%, 54.6%, 0%, 23.9%) |
| CIE-LAB | lab(40.30, 23.31, -59.75) |
| CIE-LCH | lch(40.30, 64.13, 291.31°) |
| OKLab | oklab(49.37% -0.0173 -0.1723) |
| OKLCH | oklch(49.37% 0.173 264.3) |
| XYZ | xyz(14.3061, 11.4308, 52.4809) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.85
Denim
#1560BD
ΔE00 4.43
Azul
#1D5DEC
ΔE00 5.34
Warm Blue
#4B57DB
ΔE00 5.74
Denim Blue
#3B5B92
ΔE00 6.14
Cobalt
#0047AB
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D58C2 #C2972D
analogous
#2DA2C2 #2D58C2 #4D2DC2
triadic
#2D58C2 #C22D58 #58C22D
tetradic
#2D58C2 #C22DA2 #C2972D #2DC24D
square
#2D58C2 #C22DA2 #C2972D #2DC24D
split-complementary
#2D58C2 #C24D2D #A2C22D
monochromatic
#162B5F #214190 #2D58C2 #557AD7 #86A1E3
Accessibility & contrast
On white
6.39
#2D58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2D58C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D58C2
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D58C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D58C2 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007284
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2d58c2; /* rgb */ color: rgb(45, 88, 194); /* oklch */ color: oklch(49.4% 0.173 264.3);
Tailwind
colors: {
custom: {
50: '#7c86d5',
500: '#2d58c2',
950: '#000000',
},
}SCSS
$custom: #2d58c2; $custom-light: #7c86d5; $custom-dark: #000000;
JSON
{
"hex": "#2d58c2",
"rgb": {
"r": 45,
"g": 88,
"b": 194
},
"hsl": {
"h": 222.685,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.49366,
"c": 0.17313,
"h": 264.3
},
"luminance": 0.11432
}Semantic roles & 50–950 ramp
primary
#2D58C2
secondary
#CDB67E
accent
#B642E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83