#4A58BE#4A58BE
#4A58BE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.159 H 273.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4A58BE |
|---|---|
| RGB | rgb(74, 88, 190) |
| HSL | hsl(233, 47%, 52%) |
| HSV | hsv(233, 61%, 75%) |
| CMYK | cmyk(61.1%, 53.7%, 0%, 25.5%) |
| CIE-LAB | lab(41.46, 26.13, -55.47) |
| CIE-LCH | lch(41.46, 61.32, 295.22°) |
| OKLab | oklab(50.54% 0.0095 -0.1591) |
| OKLCH | oklch(50.54% 0.159 273.4) |
| XYZ | xyz(15.6050, 12.1517, 50.2284) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.04
Iris
#6258C4
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 5.72
Sapphire
#0F52BA
ΔE00 5.97
Slate Blue
#6A5ACD
ΔE00 6.07
Azul
#1D5DEC
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A58BE #BEB04A
analogous
#4A92BE #4A58BE #764ABE
triadic
#4A58BE #BE4A58 #58BE4A
tetradic
#4A58BE #BE4A92 #BEB04A #4ABE76
square
#4A58BE #BE4A92 #BEB04A #4ABE76
split-complementary
#4A58BE #BE764A #92BE4A
monochromatic
#252D68 #364195 #4A58BE #7782CE #A4ABDE
Accessibility & contrast
On white
6.12
#4A58BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#4A58BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A58BE
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A58BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A58BE | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4a58be; /* rgb */ color: rgb(74, 88, 190); /* oklch */ color: oklch(50.5% 0.159 273.4);
Tailwind
colors: {
custom: {
50: '#8787d2',
500: '#4a58be',
950: '#000000',
},
}SCSS
$custom: #4a58be; $custom-light: #8787d2; $custom-dark: #000000;
JSON
{
"hex": "#4a58be",
"rgb": {
"r": 74,
"g": 88,
"b": 190
},
"hsl": {
"h": 232.759,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.5054,
"c": 0.15937,
"h": 273.4
},
"luminance": 0.12153
}Semantic roles & 50–950 ramp
primary
#4A58BE
secondary
#CBC598
accent
#C751D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83