#4A58CD#4A58CD
#4A58CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.180 H 273.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4A58CD |
|---|---|
| RGB | rgb(74, 88, 205) |
| HSL | hsl(234, 57%, 55%) |
| HSV | hsv(234, 64%, 80%) |
| CMYK | cmyk(63.9%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(42.52, 31.26, -62.44) |
| CIE-LCH | lch(42.52, 69.83, 296.60°) |
| OKLab | oklab(51.68% 0.0101 -0.1796) |
| OKLCH | oklch(51.68% 0.18 273.2) |
| XYZ | xyz(17.3295, 12.8416, 59.3112) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.95
Iris
#6258C4
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 4.78
Azul
#1D5DEC
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.30
Light Indigo
#6D5ACF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A58CD #CDBF4A
analogous
#4A99CD #4A58CD #7E4ACD
triadic
#4A58CD #CD4A58 #58CD4A
tetradic
#4A58CD #CD4A99 #CDBF4A #4ACD7E
square
#4A58CD #CD4A99 #CDBF4A #4ACD7E
split-complementary
#4A58CD #CD7E4A #99CD4A
monochromatic
#222B7B #2F3CAB #4A58CD #7A84DA #AAB0E7
Accessibility & contrast
On white
5.88
#4A58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#4A58CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A58CD
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A58CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A58CD | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4a58cd; /* rgb */ color: rgb(74, 88, 205); /* oklch */ color: oklch(51.7% 0.180 273.2);
Tailwind
colors: {
custom: {
50: '#8a87dd',
500: '#4a58cd',
950: '#000000',
},
}SCSS
$custom: #4a58cd; $custom-light: #8a87dd; $custom-dark: #000000;
JSON
{
"hex": "#4a58cd",
"rgb": {
"r": 74,
"g": 88,
"b": 205
},
"hsl": {
"h": 233.588,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.51676,
"c": 0.17985,
"h": 273.2
},
"luminance": 0.12843
}Semantic roles & 50–950 ramp
primary
#4A58CD
secondary
#D5CF9E
accent
#D048E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83