#4D52C8#4D52C8
#4D52C8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.180 H 276.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52C8 |
|---|---|
| RGB | rgb(77, 82, 200) |
| HSL | hsl(238, 53%, 54%) |
| HSV | hsv(238, 62%, 78%) |
| CMYK | cmyk(61.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(40.87, 33.81, -62.23) |
| CIE-LCH | lch(40.87, 70.82, 298.51°) |
| OKLab | oklab(50.38% 0.0188 -0.1789) |
| OKLCH | oklch(50.38% 0.18 276) |
| XYZ | xyz(16.4998, 11.7812, 56.0369) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.98
Iris
#6258C4
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 5.48
Light Indigo
#6D5ACF
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52C8 #C8C34D
analogous
#4D90C8 #4D52C8 #864DC8
triadic
#4D52C8 #C84D52 #52C84D
tetradic
#4D52C8 #C84D90 #C8C34D #4DC886
square
#4D52C8 #C84D90 #C8C34D #4DC886
split-complementary
#4D52C8 #C8864D #90C84D
monochromatic
#242876 #3338A5 #4D52C8 #7C7FD6 #ABADE5
Accessibility & contrast
On white
6.26
#4D52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#4D52C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52C8
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52C8 | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4d52c8; /* rgb */ color: rgb(77, 82, 200); /* oklch */ color: oklch(50.4% 0.180 276.0);
Tailwind
colors: {
custom: {
50: '#8b82da',
500: '#4d52c8',
950: '#000000',
},
}SCSS
$custom: #4d52c8; $custom-light: #8b82da; $custom-dark: #000000;
JSON
{
"hex": "#4d52c8",
"rgb": {
"r": 77,
"g": 82,
"b": 200
},
"hsl": {
"h": 237.561,
"s": 52.79,
"l": 54.314
},
"oklch": {
"l": 0.50379,
"c": 0.17993,
"h": 276
},
"luminance": 0.11782
}Semantic roles & 50–950 ramp
primary
#4D52C8
secondary
#D2D09E
accent
#D64CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83