#4954D7#4954D7
#4954D7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.198 H 273.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4954D7 |
|---|---|
| RGB | rgb(73, 84, 215) |
| HSL | hsl(235, 64%, 56%) |
| HSV | hsv(235, 66%, 84%) |
| CMYK | cmyk(66%, 60.9%, 0%, 15.7%) |
| CIE-LAB | lab(42.25, 37.01, -68.63) |
| CIE-LCH | lch(42.25, 77.97, 298.34°) |
| OKLab | oklab(51.7% 0.0122 -0.1978) |
| OKLCH | oklch(51.7% 0.198 273.5) |
| XYZ | xyz(18.1796, 12.6618, 65.7627) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.09
Iris
#6258C4
ΔE00 4.53
Electric Blue
#0652FF
ΔE00 4.92
Dark Periwinkle
#665FD1
ΔE00 5.12
Azul
#1D5DEC
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4954D7 #D7CC49
analogous
#499BD7 #4954D7 #8549D7
triadic
#4954D7 #D74954 #54D749
tetradic
#4954D7 #D7499B #D7CC49 #49D785
square
#4954D7 #D7499B #D7CC49 #49D785
split-complementary
#4954D7 #D78549 #9BD749
monochromatic
#1E2688 #2934BA #4954D7 #7B83E2 #ADB2ED
Accessibility & contrast
On white
5.94
#4954D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4954D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4954D7
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4954D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4954D7 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4954d7; /* rgb */ color: rgb(73, 84, 215); /* oklch */ color: oklch(51.7% 0.198 273.5);
Tailwind
colors: {
custom: {
50: '#8c84e4',
500: '#4954d7',
950: '#000000',
},
}SCSS
$custom: #4954d7; $custom-light: #8c84e4; $custom-dark: #000000;
JSON
{
"hex": "#4954d7",
"rgb": {
"r": 73,
"g": 84,
"b": 215
},
"hsl": {
"h": 235.352,
"s": 63.964,
"l": 56.471
},
"oklch": {
"l": 0.51695,
"c": 0.19821,
"h": 273.5
},
"luminance": 0.12663
}Semantic roles & 50–950 ramp
primary
#4954D7
secondary
#DBD7A1
accent
#DA41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84