#4958C2#4958C2
#4958C2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.165 H 273.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4958C2 |
|---|---|
| RGB | rgb(73, 88, 194) |
| HSL | hsl(233, 50%, 52%) |
| HSV | hsv(233, 62%, 76%) |
| CMYK | cmyk(62.4%, 54.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.67, 27.33, -57.45) |
| CIE-LCH | lch(41.67, 63.62, 295.44°) |
| OKLab | oklab(50.78% 0.0086 -0.1649) |
| OKLCH | oklch(50.78% 0.165 273) |
| XYZ | xyz(15.9718, 12.2896, 52.5589) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.51
Iris
#6258C4
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 5.53
Slate Blue
#6A5ACD
ΔE00 5.95
Sapphire
#0F52BA
ΔE00 5.97
Azul
#1D5DEC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4958C2 #C2B349
analogous
#4995C2 #4958C2 #7749C2
triadic
#4958C2 #C24958 #58C249
tetradic
#4958C2 #C24995 #C2B349 #49C277
square
#4958C2 #C24995 #C2B349 #49C277
split-complementary
#4958C2 #C27749 #95C249
monochromatic
#242D6C #34409A #4958C2 #7782D1 #A5ACE1
Accessibility & contrast
On white
6.07
#4958C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#4958C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4958C2
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4958C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4958C2 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0868C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4958c2; /* rgb */ color: rgb(73, 88, 194); /* oklch */ color: oklch(50.8% 0.165 273.0);
Tailwind
colors: {
custom: {
50: '#8887d5',
500: '#4958c2',
950: '#000000',
},
}SCSS
$custom: #4958c2; $custom-light: #8887d5; $custom-dark: #000000;
JSON
{
"hex": "#4958c2",
"rgb": {
"r": 73,
"g": 88,
"b": 194
},
"hsl": {
"h": 232.562,
"s": 49.794,
"l": 52.353
},
"oklch": {
"l": 0.50775,
"c": 0.16517,
"h": 273
},
"luminance": 0.12291
}Semantic roles & 50–950 ramp
primary
#4958C2
secondary
#CEC799
accent
#C84ED9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83