#4958CE#4958CE
#4958CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.181 H 272.8°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4958CE |
|---|---|
| RGB | rgb(73, 88, 206) |
| HSL | hsl(233, 58%, 55%) |
| HSV | hsv(233, 65%, 81%) |
| CMYK | cmyk(64.6%, 57.3%, 0%, 19.2%) |
| CIE-LAB | lab(42.54, 31.45, -62.99) |
| CIE-LCH | lch(42.54, 70.41, 296.53°) |
| OKLab | oklab(51.69% 0.009 -0.1812) |
| OKLCH | oklch(51.69% 0.181 272.8) |
| XYZ | xyz(17.3742, 12.8506, 59.9454) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.87
Iris
#6258C4
ΔE00 4.32
Dark Periwinkle
#665FD1
ΔE00 4.87
Azul
#1D5DEC
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.42
Electric Blue
#0652FF
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4958CE #CEBF49
analogous
#499BCE #4958CE #7D49CE
triadic
#4958CE #CE4958 #58CE49
tetradic
#4958CE #CE499B #CEBF49 #49CE7D
square
#4958CE #CE499B #CEBF49 #49CE7D
split-complementary
#4958CE #CE7D49 #9BCE49
monochromatic
#212B7B #2E3CAC #4958CE #7984DB #A9B0E8
Accessibility & contrast
On white
5.88
#4958CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#4958CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4958CE
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4958CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4958CE | 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)
#006BD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4958ce; /* rgb */ color: rgb(73, 88, 206); /* oklch */ color: oklch(51.7% 0.181 272.8);
Tailwind
colors: {
custom: {
50: '#8a87de',
500: '#4958ce',
950: '#000000',
},
}SCSS
$custom: #4958ce; $custom-light: #8a87de; $custom-dark: #000000;
JSON
{
"hex": "#4958ce",
"rgb": {
"r": 73,
"g": 88,
"b": 206
},
"hsl": {
"h": 233.233,
"s": 57.576,
"l": 54.706
},
"oklch": {
"l": 0.51694,
"c": 0.18145,
"h": 272.8
},
"luminance": 0.12852
}Semantic roles & 50–950 ramp
primary
#4958CE
secondary
#D5CF9D
accent
#CF47E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83