#4951CF#4951CF
#4951CF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.191 H 274.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4951CF |
|---|---|
| RGB | rgb(73, 81, 207) |
| HSL | hsl(236, 58%, 55%) |
| HSV | hsv(236, 65%, 81%) |
| CMYK | cmyk(64.7%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(40.90, 36.15, -66.23) |
| CIE-LCH | lch(40.90, 75.45, 298.63°) |
| OKLab | oklab(50.51% 0.0149 -0.1908) |
| OKLCH | oklch(50.51% 0.191 274.5) |
| XYZ | xyz(16.9488, 11.8049, 60.4048) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.46
Iris
#6258C4
ΔE00 4.39
Blue (survey)
#0343DF
ΔE00 5.29
Blue Blue
#2242C7
ΔE00 5.50
Slate Blue
#6A5ACD
ΔE00 5.57
Dark Periwinkle
#665FD1
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4951CF #CFC749
analogous
#4994CF #4951CF #8449CF
triadic
#4951CF #CF4951 #51CF49
tetradic
#4951CF #CF4994 #CFC749 #49CF84
square
#4951CF #CF4994 #CFC749 #49CF84
split-complementary
#4951CF #CF8449 #94CF49
monochromatic
#21267D #2E35AD #4951CF #797FDC #AAAEE9
Accessibility & contrast
On white
6.25
#4951CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#4951CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4951CF
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4951CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4951CF | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4951cf; /* rgb */ color: rgb(73, 81, 207); /* oklch */ color: oklch(50.5% 0.191 274.5);
Tailwind
colors: {
custom: {
50: '#8b82df',
500: '#4951cf',
950: '#000000',
},
}SCSS
$custom: #4951cf; $custom-light: #8b82df; $custom-dark: #000000;
JSON
{
"hex": "#4951cf",
"rgb": {
"r": 73,
"g": 81,
"b": 207
},
"hsl": {
"h": 236.418,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.50508,
"c": 0.19138,
"h": 274.5
},
"luminance": 0.11806
}Semantic roles & 50–950 ramp
primary
#4951CF
secondary
#D6D39E
accent
#D846E1
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83