#4D54D9#4D54D9
#4D54D9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.200 H 274.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4D54D9 |
|---|---|
| RGB | rgb(77, 84, 217) |
| HSL | hsl(237, 65%, 58%) |
| HSV | hsv(237, 65%, 85%) |
| CMYK | cmyk(64.5%, 61.3%, 0%, 14.9%) |
| CIE-LAB | lab(42.65, 38.26, -69.10) |
| CIE-LCH | lch(42.65, 78.99, 298.97°) |
| OKLab | oklab(52.11% 0.0166 -0.1991) |
| OKLCH | oklch(52.11% 0.2 274.8) |
| XYZ | xyz(18.7511, 12.9266, 67.1391) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.03
Iris
#6258C4
ΔE00 4.28
Dark Periwinkle
#665FD1
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 4.87
Electric Blue
#0652FF
ΔE00 4.97
Light Indigo
#6D5ACF
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D54D9 #D9D24D
analogous
#4D9AD9 #4D54D9 #8C4DD9
triadic
#4D54D9 #D94D54 #54D94D
tetradic
#4D54D9 #D94D9A #D9D24D #4DD98C
square
#4D54D9 #D94D9A #D9D24D #4DD98C
split-complementary
#4D54D9 #D98C4D #9AD94D
monochromatic
#1E248D #2930C0 #4D54D9 #7F84E4 #B2B5EF
Accessibility & contrast
On white
5.86
#4D54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4D54D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D54D9
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D54D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D54D9 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4d54d9; /* rgb */ color: rgb(77, 84, 217); /* oklch */ color: oklch(52.1% 0.200 274.8);
Tailwind
colors: {
custom: {
50: '#8e84e6',
500: '#4d54d9',
950: '#000000',
},
}SCSS
$custom: #4d54d9; $custom-light: #8e84e6; $custom-dark: #000000;
JSON
{
"hex": "#4d54d9",
"rgb": {
"r": 77,
"g": 84,
"b": 217
},
"hsl": {
"h": 237,
"s": 64.815,
"l": 57.647
},
"oklch": {
"l": 0.52106,
"c": 0.19982,
"h": 274.8
},
"luminance": 0.12928
}Semantic roles & 50–950 ramp
primary
#4D54D9
secondary
#DDDAA5
accent
#DF40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84