#4958BA#4958BA
#4958BA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.154 H 273.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4958BA |
|---|---|
| RGB | rgb(73, 88, 186) |
| HSL | hsl(232, 45%, 51%) |
| HSV | hsv(232, 61%, 73%) |
| CMYK | cmyk(60.8%, 52.7%, 0%, 27.1%) |
| CIE-LAB | lab(41.12, 24.58, -53.68) |
| CIE-LCH | lch(41.12, 59.04, 294.60°) |
| OKLab | oklab(50.18% 0.0081 -0.1538) |
| OKLCH | oklch(50.18% 0.154 273) |
| XYZ | xyz(15.0974, 11.9399, 47.9539) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.64
Iris
#6258C4
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 5.72
Dark Periwinkle
#665FD1
ΔE00 6.19
Dusky Blue
#475F94
ΔE00 6.37
Slate Blue
#6A5ACD
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4958BA #BAAB49
analogous
#4991BA #4958BA #7249BA
triadic
#4958BA #BA4958 #58BA49
tetradic
#4958BA #BA4991 #BAAB49 #49BA72
square
#4958BA #BA4991 #BAAB49 #49BA72
split-complementary
#4958BA #BA7249 #91BA49
monochromatic
#262E63 #36428F #4958BA #7581CB #A2A9DC
Accessibility & contrast
On white
6.20
#4958BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#4958BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4958BA
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4958BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4958BA | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D66BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4958ba; /* rgb */ color: rgb(73, 88, 186); /* oklch */ color: oklch(50.2% 0.154 273.0);
Tailwind
colors: {
custom: {
50: '#8686cf',
500: '#4958ba',
950: '#000000',
},
}SCSS
$custom: #4958ba; $custom-light: #8686cf; $custom-dark: #000000;
JSON
{
"hex": "#4958ba",
"rgb": {
"r": 73,
"g": 88,
"b": 186
},
"hsl": {
"h": 232.035,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.50184,
"c": 0.15407,
"h": 273
},
"luminance": 0.11941
}Semantic roles & 50–950 ramp
primary
#4958BA
secondary
#C8C296
accent
#C453D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82