#4D52D8#4D52D8
#4D52D8 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.201 H 275.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52D8 |
|---|---|
| RGB | rgb(77, 82, 216) |
| HSL | hsl(238, 64%, 57%) |
| HSV | hsv(238, 64%, 85%) |
| CMYK | cmyk(64.4%, 62%, 0%, 15.3%) |
| CIE-LAB | lab(42.11, 39.14, -69.42) |
| CIE-LCH | lch(42.11, 79.70, 299.42°) |
| OKLab | oklab(51.68% 0.0182 -0.2001) |
| OKLCH | oklch(51.68% 0.201 275.2) |
| XYZ | xyz(18.4685, 12.5687, 66.4052) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.64
Iris
#6258C4
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 5.00
Dark Periwinkle
#665FD1
ΔE00 5.10
Electric Blue
#0652FF
ΔE00 5.15
Light Indigo
#6D5ACF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52D8 #D8D34D
analogous
#4D97D8 #4D52D8 #8E4DD8
triadic
#4D52D8 #D84D52 #52D84D
tetradic
#4D52D8 #D84D97 #D8D34D #4DD88E
square
#4D52D8 #D84D97 #D8D34D #4DD88E
split-complementary
#4D52D8 #D88E4D #97D84D
monochromatic
#1F238C #2A2FBE #4D52D8 #7F83E3 #B1B4EE
Accessibility & contrast
On white
5.98
#4D52D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#4D52D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52D8
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52D8 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4d52d8; /* rgb */ color: rgb(77, 82, 216); /* oklch */ color: oklch(51.7% 0.201 275.2);
Tailwind
colors: {
custom: {
50: '#8e83e5',
500: '#4d52d8',
950: '#000000',
},
}SCSS
$custom: #4d52d8; $custom-light: #8e83e5; $custom-dark: #000000;
JSON
{
"hex": "#4d52d8",
"rgb": {
"r": 77,
"g": 82,
"b": 216
},
"hsl": {
"h": 237.842,
"s": 64.055,
"l": 57.451
},
"oklch": {
"l": 0.5168,
"c": 0.20091,
"h": 275.2
},
"luminance": 0.1257
}Semantic roles & 50–950 ramp
primary
#4D52D8
secondary
#DCDAA4
accent
#E141E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84