#4951CB#4951CB
#4951CB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.186 H 274.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4951CB |
|---|---|
| RGB | rgb(73, 81, 203) |
| HSL | hsl(236, 56%, 54%) |
| HSV | hsv(236, 64%, 80%) |
| CMYK | cmyk(64%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(40.59, 34.80, -64.42) |
| CIE-LCH | lch(40.59, 73.22, 298.38°) |
| OKLab | oklab(50.18% 0.015 -0.1855) |
| OKLCH | oklch(50.18% 0.186 274.6) |
| XYZ | xyz(16.4660, 11.6117, 57.8619) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.84
Iris
#6258C4
ΔE00 4.31
Blue Blue
#2242C7
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4951CB #CBC349
analogous
#4992CB #4951CB #8249CB
triadic
#4951CB #CB4951 #51CB49
tetradic
#4951CB #CB4992 #CBC349 #49CB82
square
#4951CB #CB4992 #CBC349 #49CB82
split-complementary
#4951CB #CB8249 #92CB49
monochromatic
#222777 #3037A7 #4951CB #797FD9 #A8ACE6
Accessibility & contrast
On white
6.32
#4951CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#4951CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4951CB
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4951CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4951CB | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4951cb; /* rgb */ color: rgb(73, 81, 203); /* oklch */ color: oklch(50.2% 0.186 274.6);
Tailwind
colors: {
custom: {
50: '#8a82dc',
500: '#4951cb',
950: '#000000',
},
}SCSS
$custom: #4951cb; $custom-light: #8a82dc; $custom-dark: #000000;
JSON
{
"hex": "#4951cb",
"rgb": {
"r": 73,
"g": 81,
"b": 203
},
"hsl": {
"h": 236.308,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.5018,
"c": 0.18612,
"h": 274.6
},
"luminance": 0.11613
}Semantic roles & 50–950 ramp
primary
#4951CB
secondary
#D4D09C
accent
#D649DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83