#4958CF#4958CF
#4958CF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.183 H 272.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4958CF |
|---|---|
| RGB | rgb(73, 88, 207) |
| HSL | hsl(233, 58%, 55%) |
| HSV | hsv(233, 65%, 81%) |
| CMYK | cmyk(64.7%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(42.61, 31.79, -63.45) |
| CIE-LCH | lch(42.61, 70.97, 296.61°) |
| OKLab | oklab(51.77% 0.009 -0.1826) |
| OKLCH | oklch(51.77% 0.183 272.8) |
| XYZ | xyz(17.4961, 12.8994, 60.5872) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.74
Iris
#6258C4
ΔE00 4.34
Dark Periwinkle
#665FD1
ΔE00 4.83
Azul
#1D5DEC
ΔE00 4.86
Slate Blue
#6A5ACD
ΔE00 5.39
Electric Blue
#0652FF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4958CF #CFC049
analogous
#499BCF #4958CF #7D49CF
triadic
#4958CF #CF4958 #58CF49
tetradic
#4958CF #CF499B #CFC049 #49CF7D
square
#4958CF #CF499B #CFC049 #49CF7D
split-complementary
#4958CF #CF7D49 #9BCF49
monochromatic
#212B7D #2E3CAD #4958CF #7984DC #AAB1E9
Accessibility & contrast
On white
5.87
#4958CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#4958CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4958CF
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4958CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4958CF | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4958cf; /* rgb */ color: rgb(73, 88, 207); /* oklch */ color: oklch(51.8% 0.183 272.8);
Tailwind
colors: {
custom: {
50: '#8a87df',
500: '#4958cf',
950: '#000000',
},
}SCSS
$custom: #4958cf; $custom-light: #8a87df; $custom-dark: #000000;
JSON
{
"hex": "#4958cf",
"rgb": {
"r": 73,
"g": 88,
"b": 207
},
"hsl": {
"h": 233.284,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.51772,
"c": 0.18279,
"h": 272.8
},
"luminance": 0.12901
}Semantic roles & 50–950 ramp
primary
#4958CF
secondary
#D6D09E
accent
#D046E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83