#4958C7#4958C7
#4958C7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.172 H 272.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4958C7 |
|---|---|
| RGB | rgb(73, 88, 199) |
| HSL | hsl(233, 53%, 53%) |
| HSV | hsv(233, 63%, 78%) |
| CMYK | cmyk(63.3%, 55.8%, 0%, 22%) |
| CIE-LAB | lab(42.03, 29.04, -59.78) |
| CIE-LCH | lch(42.03, 66.46, 295.91°) |
| OKLab | oklab(51.15% 0.0088 -0.1718) |
| OKLCH | oklch(51.15% 0.172 272.9) |
| XYZ | xyz(16.5428, 12.5180, 55.5662) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.81
Iris
#6258C4
ΔE00 4.30
Dark Periwinkle
#665FD1
ΔE00 5.21
Azul
#1D5DEC
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.68
Sapphire
#0F52BA
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4958C7 #C7B849
analogous
#4997C7 #4958C7 #7949C7
triadic
#4958C7 #C74958 #58C749
tetradic
#4958C7 #C74997 #C7B849 #49C779
square
#4958C7 #C74997 #C7B849 #49C779
split-complementary
#4958C7 #C77949 #97C749
monochromatic
#232D72 #323FA1 #4958C7 #7883D5 #A7AEE4
Accessibility & contrast
On white
5.99
#4958C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#4958C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4958C7
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4958C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4958C7 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4958c7; /* rgb */ color: rgb(73, 88, 199); /* oklch */ color: oklch(51.2% 0.172 272.9);
Tailwind
colors: {
custom: {
50: '#8987d9',
500: '#4958c7',
950: '#000000',
},
}SCSS
$custom: #4958c7; $custom-light: #8987d9; $custom-dark: #000000;
JSON
{
"hex": "#4958c7",
"rgb": {
"r": 73,
"g": 88,
"b": 199
},
"hsl": {
"h": 232.857,
"s": 52.941,
"l": 53.333
},
"oklch": {
"l": 0.51153,
"c": 0.17201,
"h": 272.9
},
"luminance": 0.12519
}Semantic roles & 50–950 ramp
primary
#4958C7
secondary
#D1CB9B
accent
#CB4BDC
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83