#4D52D6#4D52D6
#4D52D6 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.5% C 0.198 H 275.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52D6 |
|---|---|
| RGB | rgb(77, 82, 214) |
| HSL | hsl(238, 63%, 57%) |
| HSV | hsv(238, 64%, 84%) |
| CMYK | cmyk(64%, 61.7%, 0%, 16.1%) |
| CIE-LAB | lab(41.95, 38.48, -68.54) |
| CIE-LCH | lch(41.95, 78.60, 299.31°) |
| OKLab | oklab(51.51% 0.0183 -0.1975) |
| OKLCH | oklch(51.51% 0.198 275.3) |
| XYZ | xyz(18.2115, 12.4659, 65.0517) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.73
Iris
#6258C4
ΔE00 4.20
Slate Blue
#6A5ACD
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 5.11
Electric Blue
#0652FF
ΔE00 5.34
Light Indigo
#6D5ACF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52D6 #D6D14D
analogous
#4D97D6 #4D52D6 #8C4DD6
triadic
#4D52D6 #D64D52 #52D64D
tetradic
#4D52D6 #D64D97 #D6D14D #4DD68C
square
#4D52D6 #D64D97 #D6D14D #4DD68C
split-complementary
#4D52D6 #D68C4D #97D64D
monochromatic
#202389 #2B30BB #4D52D6 #7F82E1 #B0B3ED
Accessibility & contrast
On white
6.01
#4D52D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#4D52D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52D6
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52D6 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4d52d6; /* rgb */ color: rgb(77, 82, 214); /* oklch */ color: oklch(51.5% 0.198 275.3);
Tailwind
colors: {
custom: {
50: '#8e83e4',
500: '#4d52d6',
950: '#000000',
},
}SCSS
$custom: #4d52d6; $custom-light: #8e83e4; $custom-dark: #000000;
JSON
{
"hex": "#4d52d6",
"rgb": {
"r": 77,
"g": 82,
"b": 214
},
"hsl": {
"h": 237.81,
"s": 62.557,
"l": 57.059
},
"oklch": {
"l": 0.51514,
"c": 0.19833,
"h": 275.3
},
"luminance": 0.12467
}Semantic roles & 50–950 ramp
primary
#4D52D6
secondary
#DBD9A4
accent
#E042E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84