#4D54D7#4D54D7
#4D54D7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.197 H 274.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4D54D7 |
|---|---|
| RGB | rgb(77, 84, 215) |
| HSL | hsl(237, 63%, 57%) |
| HSV | hsv(237, 64%, 84%) |
| CMYK | cmyk(64.2%, 60.9%, 0%, 15.7%) |
| CIE-LAB | lab(42.50, 37.59, -68.22) |
| CIE-LCH | lch(42.50, 77.89, 298.86°) |
| OKLab | oklab(51.94% 0.0166 -0.1965) |
| OKLCH | oklch(51.94% 0.197 274.8) |
| XYZ | xyz(18.4926, 12.8231, 65.7774) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.12
Iris
#6258C4
ΔE00 4.14
Dark Periwinkle
#665FD1
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 4.84
Electric Blue
#0652FF
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D54D7 #D7D04D
analogous
#4D99D7 #4D54D7 #8B4DD7
triadic
#4D54D7 #D74D54 #54D74D
tetradic
#4D54D7 #D74D99 #D7D04D #4DD78B
square
#4D54D7 #D74D99 #D7D04D #4DD78B
split-complementary
#4D54D7 #D78B4D #99D74D
monochromatic
#1F258A #2A32BC #4D54D7 #7F84E2 #B1B4ED
Accessibility & contrast
On white
5.89
#4D54D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#4D54D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D54D7
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D54D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D54D7 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4d54d7; /* rgb */ color: rgb(77, 84, 215); /* oklch */ color: oklch(51.9% 0.197 274.8);
Tailwind
colors: {
custom: {
50: '#8e84e4',
500: '#4d54d7',
950: '#000000',
},
}SCSS
$custom: #4d54d7; $custom-light: #8e84e4; $custom-dark: #000000;
JSON
{
"hex": "#4d54d7",
"rgb": {
"r": 77,
"g": 84,
"b": 215
},
"hsl": {
"h": 236.957,
"s": 63.303,
"l": 57.255
},
"oklch": {
"l": 0.51942,
"c": 0.19722,
"h": 274.8
},
"luminance": 0.12825
}Semantic roles & 50–950 ramp
primary
#4D54D7
secondary
#DCD9A4
accent
#DE41E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84