#4D52DF#4D52DF
#4D52DF is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.3% C 0.210 H 274.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52DF |
|---|---|
| RGB | rgb(77, 82, 223) |
| HSL | hsl(238, 70%, 59%) |
| HSV | hsv(238, 65%, 87%) |
| CMYK | cmyk(65.5%, 63.2%, 0%, 12.5%) |
| CIE-LAB | lab(42.67, 41.46, -72.50) |
| CIE-LCH | lch(42.67, 83.52, 299.77°) |
| OKLab | oklab(52.27% 0.0178 -0.2091) |
| OKLCH | oklch(52.27% 0.21 274.9) |
| XYZ | xyz(19.3927, 12.9384, 71.2731) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.66
Electric Blue
#0652FF
ΔE00 4.54
Iris
#6258C4
ΔE00 4.81
Slate Blue
#6A5ACD
ΔE00 5.15
Dark Periwinkle
#665FD1
ΔE00 5.17
Light Indigo
#6D5ACF
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52DF #DFDA4D
analogous
#4D9BDF #4D52DF #914DDF
triadic
#4D52DF #DF4D52 #52DF4D
tetradic
#4D52DF #DF4D9B #DFDA4D #4DDF91
square
#4D52DF #DF4D9B #DFDA4D #4DDF91
split-complementary
#4D52DF #DF914D #9BDF4D
monochromatic
#1B1F97 #242ACA #4D52DF #8184E8 #B5B7F2
Accessibility & contrast
On white
5.85
#4D52DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#4D52DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52DF
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52DF | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4d52df; /* rgb */ color: rgb(77, 82, 223); /* oklch */ color: oklch(52.3% 0.210 274.9);
Tailwind
colors: {
custom: {
50: '#8f83ea',
500: '#4d52df',
950: '#000000',
},
}SCSS
$custom: #4d52df; $custom-light: #8f83ea; $custom-dark: #000000;
JSON
{
"hex": "#4d52df",
"rgb": {
"r": 77,
"g": 82,
"b": 223
},
"hsl": {
"h": 237.945,
"s": 69.524,
"l": 58.824
},
"oklch": {
"l": 0.52269,
"c": 0.20986,
"h": 274.9
},
"luminance": 0.1294
}Semantic roles & 50–950 ramp
primary
#4D52DF
secondary
#E1DFA7
accent
#E63BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84