#4D52D7#4D52D7
#4D52D7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.6% C 0.200 H 275.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52D7 |
|---|---|
| RGB | rgb(77, 82, 215) |
| HSL | hsl(238, 63%, 57%) |
| HSV | hsv(238, 64%, 84%) |
| CMYK | cmyk(64.2%, 61.9%, 0%, 15.7%) |
| CIE-LAB | lab(42.03, 38.81, -68.98) |
| CIE-LCH | lch(42.03, 79.15, 299.36°) |
| OKLab | oklab(51.6% 0.0183 -0.1988) |
| OKLCH | oklch(51.6% 0.2 275.2) |
| XYZ | xyz(18.3396, 12.5171, 65.7264) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.68
Iris
#6258C4
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 5.10
Electric Blue
#0652FF
ΔE00 5.24
Light Indigo
#6D5ACF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52D7 #D7D24D
analogous
#4D97D7 #4D52D7 #8D4DD7
triadic
#4D52D7 #D74D52 #52D74D
tetradic
#4D52D7 #D74D97 #D7D24D #4DD78D
square
#4D52D7 #D74D97 #D7D24D #4DD78D
split-complementary
#4D52D7 #D78D4D #97D74D
monochromatic
#1F238A #2A30BC #4D52D7 #7F83E2 #B1B3ED
Accessibility & contrast
On white
5.99
#4D52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#4D52D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52D7
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52D7 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4d52d7; /* rgb */ color: rgb(77, 82, 215); /* oklch */ color: oklch(51.6% 0.200 275.2);
Tailwind
colors: {
custom: {
50: '#8e83e4',
500: '#4d52d7',
950: '#000000',
},
}SCSS
$custom: #4d52d7; $custom-light: #8e83e4; $custom-dark: #000000;
JSON
{
"hex": "#4d52d7",
"rgb": {
"r": 77,
"g": 82,
"b": 215
},
"hsl": {
"h": 237.826,
"s": 63.303,
"l": 57.255
},
"oklch": {
"l": 0.51597,
"c": 0.19962,
"h": 275.2
},
"luminance": 0.12519
}Semantic roles & 50–950 ramp
primary
#4D52D7
secondary
#DCDAA4
accent
#E041E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84