#4958CB#4958CB
#4958CB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.177 H 272.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4958CB |
|---|---|
| RGB | rgb(73, 88, 203) |
| HSL | hsl(233, 56%, 54%) |
| HSV | hsv(233, 64%, 80%) |
| CMYK | cmyk(64%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(42.32, 30.42, -61.62) |
| CIE-LCH | lch(42.32, 68.72, 296.27°) |
| OKLab | oklab(51.46% 0.0089 -0.1772) |
| OKLCH | oklch(51.46% 0.177 272.9) |
| XYZ | xyz(17.0133, 12.7062, 58.0443) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.27
Iris
#6258C4
ΔE00 4.29
Dark Periwinkle
#665FD1
ΔE00 4.99
Azul
#1D5DEC
ΔE00 5.18
Slate Blue
#6A5ACD
ΔE00 5.51
Light Indigo
#6D5ACF
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4958CB #CBBC49
analogous
#4999CB #4958CB #7B49CB
triadic
#4958CB #CB4958 #58CB49
tetradic
#4958CB #CB4999 #CBBC49 #49CB7B
square
#4958CB #CB4999 #CBBC49 #49CB7B
split-complementary
#4958CB #CB7B49 #99CB49
monochromatic
#222C77 #303EA7 #4958CB #7984D9 #A8AFE6
Accessibility & contrast
On white
5.93
#4958CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#4958CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4958CB
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4958CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4958CB | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4958cb; /* rgb */ color: rgb(73, 88, 203); /* oklch */ color: oklch(51.5% 0.177 272.9);
Tailwind
colors: {
custom: {
50: '#8987dc',
500: '#4958cb',
950: '#000000',
},
}SCSS
$custom: #4958cb; $custom-light: #8987dc; $custom-dark: #000000;
JSON
{
"hex": "#4958cb",
"rgb": {
"r": 73,
"g": 88,
"b": 203
},
"hsl": {
"h": 233.077,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.5146,
"c": 0.17743,
"h": 272.9
},
"luminance": 0.12708
}Semantic roles & 50–950 ramp
primary
#4958CB
secondary
#D4CD9C
accent
#CE49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83