#4D52D5#4D52D5
#4D52D5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.197 H 275.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52D5 |
|---|---|
| RGB | rgb(77, 82, 213) |
| HSL | hsl(238, 62%, 57%) |
| HSV | hsv(238, 64%, 84%) |
| CMYK | cmyk(63.8%, 61.5%, 0%, 16.5%) |
| CIE-LAB | lab(41.87, 38.15, -68.09) |
| CIE-LCH | lch(41.87, 78.05, 299.26°) |
| OKLab | oklab(51.43% 0.0184 -0.1962) |
| OKLCH | oklch(51.43% 0.197 275.3) |
| XYZ | xyz(18.0842, 12.4149, 64.3812) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.78
Iris
#6258C4
ΔE00 4.14
Slate Blue
#6A5ACD
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.40
Electric Blue
#0652FF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52D5 #D5D04D
analogous
#4D96D5 #4D52D5 #8C4DD5
triadic
#4D52D5 #D54D52 #52D54D
tetradic
#4D52D5 #D54D96 #D5D04D #4DD58C
square
#4D52D5 #D54D96 #D5D04D #4DD58C
split-complementary
#4D52D5 #D58C4D #96D54D
monochromatic
#202488 #2C31B9 #4D52D5 #7F82E1 #B0B2EC
Accessibility & contrast
On white
6.03
#4D52D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4D52D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52D5
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52D5 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4d52d5; /* rgb */ color: rgb(77, 82, 213); /* oklch */ color: oklch(51.4% 0.197 275.3);
Tailwind
colors: {
custom: {
50: '#8d83e3',
500: '#4d52d5',
950: '#000000',
},
}SCSS
$custom: #4d52d5; $custom-light: #8d83e3; $custom-dark: #000000;
JSON
{
"hex": "#4d52d5",
"rgb": {
"r": 77,
"g": 82,
"b": 213
},
"hsl": {
"h": 237.794,
"s": 61.818,
"l": 56.863
},
"oklch": {
"l": 0.51431,
"c": 0.19704,
"h": 275.3
},
"luminance": 0.12416
}Semantic roles & 50–950 ramp
primary
#4D52D5
secondary
#DBD9A3
accent
#DF43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84