#4D50CD#4D50CD
#4D50CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.189 H 276.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4D50CD |
|---|---|
| RGB | rgb(77, 80, 205) |
| HSL | hsl(239, 56%, 55%) |
| HSV | hsv(239, 62%, 80%) |
| CMYK | cmyk(62.4%, 61%, 0%, 19.6%) |
| CIE-LAB | lab(40.77, 36.71, -65.28) |
| CIE-LCH | lch(40.77, 74.89, 299.35°) |
| OKLab | oklab(50.43% 0.0204 -0.1879) |
| OKLCH | oklch(50.43% 0.189 276.2) |
| XYZ | xyz(16.9451, 11.7215, 59.1153) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.88
Iris
#6258C4
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 5.31
Blue (survey)
#0343DF
ΔE00 5.52
Blue Blue
#2242C7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D50CD #CDCA4D
analogous
#4D90CD #4D50CD #8A4DCD
triadic
#4D50CD #CD4D50 #50CD4D
tetradic
#4D50CD #CD4D90 #CDCA4D #4DCD8A
square
#4D50CD #CD4D90 #CDCA4D #4DCD8A
split-complementary
#4D50CD #CD8A4D #90CD4D
monochromatic
#23257D #3033AC #4D50CD #7D7FDA #ADAEE8
Accessibility & contrast
On white
6.28
#4D50CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#4D50CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D50CD
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D50CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D50CD | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4d50cd; /* rgb */ color: rgb(77, 80, 205); /* oklch */ color: oklch(50.4% 0.189 276.2);
Tailwind
colors: {
custom: {
50: '#8c81dd',
500: '#4d50cd',
950: '#000000',
},
}SCSS
$custom: #4d50cd; $custom-light: #8c81dd; $custom-dark: #000000;
JSON
{
"hex": "#4d50cd",
"rgb": {
"r": 77,
"g": 80,
"b": 205
},
"hsl": {
"h": 238.594,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.50428,
"c": 0.18902,
"h": 276.2
},
"luminance": 0.11723
}Semantic roles & 50–950 ramp
primary
#4D50CD
secondary
#D6D4A0
accent
#DC48DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83