#4D52CD#4D52CD
#4D52CD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.8% C 0.187 H 275.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52CD |
|---|---|
| RGB | rgb(77, 82, 205) |
| HSL | hsl(238, 56%, 55%) |
| HSV | hsv(238, 62%, 80%) |
| CMYK | cmyk(62.4%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(41.25, 35.48, -64.50) |
| CIE-LCH | lch(41.25, 73.62, 298.81°) |
| OKLab | oklab(50.78% 0.0187 -0.1856) |
| OKLCH | oklch(50.78% 0.187 275.7) |
| XYZ | xyz(17.0937, 12.0188, 59.1648) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.44
Iris
#6258C4
ΔE00 3.80
Slate Blue
#6A5ACD
ΔE00 5.03
Dark Periwinkle
#665FD1
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52CD #CDC84D
analogous
#4D92CD #4D52CD #884DCD
triadic
#4D52CD #CD4D52 #52CD4D
tetradic
#4D52CD #CD4D92 #CDC84D #4DCD88
square
#4D52CD #CD4D92 #CDC84D #4DCD88
split-complementary
#4D52CD #CD884D #92CD4D
monochromatic
#23277D #3035AC #4D52CD #7D80DA #ADAFE8
Accessibility & contrast
On white
6.17
#4D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#4D52CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52CD
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52CD | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4d52cd; /* rgb */ color: rgb(77, 82, 205); /* oklch */ color: oklch(50.8% 0.187 275.7);
Tailwind
colors: {
custom: {
50: '#8c82dd',
500: '#4d52cd',
950: '#000000',
},
}SCSS
$custom: #4d52cd; $custom-light: #8c82dd; $custom-dark: #000000;
JSON
{
"hex": "#4d52cd",
"rgb": {
"r": 77,
"g": 82,
"b": 205
},
"hsl": {
"h": 237.656,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.50779,
"c": 0.18657,
"h": 275.7
},
"luminance": 0.1202
}Semantic roles & 50–950 ramp
primary
#4D52CD
secondary
#D6D4A0
accent
#DA48DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83