#4D54CD#4D54CD
#4D54CD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.184 H 275.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4D54CD |
|---|---|
| RGB | rgb(77, 84, 205) |
| HSL | hsl(237, 56%, 55%) |
| HSV | hsv(237, 62%, 80%) |
| CMYK | cmyk(62.4%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(41.73, 34.24, -63.72) |
| CIE-LCH | lch(41.73, 72.34, 298.25°) |
| OKLab | oklab(51.14% 0.0169 -0.1833) |
| OKLCH | oklch(51.14% 0.184 275.3) |
| XYZ | xyz(17.2467, 12.3248, 59.2158) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.09
Iris
#6258C4
ΔE00 3.67
Slate Blue
#6A5ACD
ΔE00 4.89
Dark Periwinkle
#665FD1
ΔE00 4.92
Light Indigo
#6D5ACF
ΔE00 5.42
Azul
#1D5DEC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D54CD #CDC64D
analogous
#4D94CD #4D54CD #864DCD
triadic
#4D54CD #CD4D54 #54CD4D
tetradic
#4D54CD #CD4D94 #CDC64D #4DCD86
square
#4D54CD #CD4D94 #CDC64D #4DCD86
split-complementary
#4D54CD #CD864D #94CD4D
monochromatic
#23287D #3037AC #4D54CD #7D82DA #ADB0E8
Accessibility & contrast
On white
6.06
#4D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#4D54CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D54CD
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D54CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D54CD | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4d54cd; /* rgb */ color: rgb(77, 84, 205); /* oklch */ color: oklch(51.1% 0.184 275.3);
Tailwind
colors: {
custom: {
50: '#8c84dd',
500: '#4d54cd',
950: '#000000',
},
}SCSS
$custom: #4d54cd; $custom-light: #8c84dd; $custom-dark: #000000;
JSON
{
"hex": "#4d54cd",
"rgb": {
"r": 77,
"g": 84,
"b": 205
},
"hsl": {
"h": 236.719,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.51135,
"c": 0.18409,
"h": 275.3
},
"luminance": 0.12326
}Semantic roles & 50–950 ramp
primary
#4D54CD
secondary
#D6D3A0
accent
#D748DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83