#4D5ED7#4D5ED7
#4D5ED7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.185 H 272.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4D5ED7 |
|---|---|
| RGB | rgb(77, 94, 215) |
| HSL | hsl(233, 63%, 57%) |
| HSV | hsv(233, 64%, 84%) |
| CMYK | cmyk(64.2%, 56.3%, 0%, 15.7%) |
| CIE-LAB | lab(44.92, 31.40, -64.27) |
| CIE-LCH | lch(44.92, 71.53, 296.04°) |
| OKLab | oklab(53.74% 0.0082 -0.1848) |
| OKLCH | oklch(53.74% 0.185 272.5) |
| XYZ | xyz(19.3249, 14.4878, 66.0548) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.26
Dark Periwinkle
#665FD1
ΔE00 4.05
Azul
#1D5DEC
ΔE00 4.05
Royal Blue
#4169E1
ΔE00 4.49
Iris
#6258C4
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D5ED7 #D7C64D
analogous
#4DA3D7 #4D5ED7 #814DD7
triadic
#4D5ED7 #D74D5E #5ED74D
tetradic
#4D5ED7 #D74DA3 #D7C64D #4DD781
square
#4D5ED7 #D74DA3 #D7C64D #4DD781
split-complementary
#4D5ED7 #D7814D #A3D74D
monochromatic
#1F2C8A #2A3CBC #4D5ED7 #7F8BE2 #B1B8ED
Accessibility & contrast
On white
5.39
#4D5ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#4D5ED7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D5ED7
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D5ED7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D5ED7 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4d5ed7; /* rgb */ color: rgb(77, 94, 215); /* oklch */ color: oklch(53.7% 0.185 272.5);
Tailwind
colors: {
custom: {
50: '#8d8be4',
500: '#4d5ed7',
950: '#000000',
},
}SCSS
$custom: #4d5ed7; $custom-light: #8d8be4; $custom-dark: #000000;
JSON
{
"hex": "#4d5ed7",
"rgb": {
"r": 77,
"g": 94,
"b": 215
},
"hsl": {
"h": 232.609,
"s": 63.303,
"l": 57.255
},
"oklch": {
"l": 0.53743,
"c": 0.185,
"h": 272.5
},
"luminance": 0.14489
}Semantic roles & 50–950 ramp
primary
#4D5ED7
secondary
#DCD5A4
accent
#D241E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84