#4A51CD#4A51CD
#4A51CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.189 H 274.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4A51CD |
|---|---|
| RGB | rgb(74, 81, 205) |
| HSL | hsl(237, 57%, 55%) |
| HSV | hsv(237, 64%, 80%) |
| CMYK | cmyk(63.9%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(40.81, 35.63, -65.22) |
| CIE-LCH | lch(40.81, 74.32, 298.65°) |
| OKLab | oklab(50.41% 0.0161 -0.1878) |
| OKLCH | oklch(50.41% 0.189 274.9) |
| XYZ | xyz(16.7823, 11.7471, 59.1288) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.63
Iris
#6258C4
ΔE00 4.23
Blue (survey)
#0343DF
ΔE00 5.42
Slate Blue
#6A5ACD
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.50
Ocean Blue
#4F42B5
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A51CD #CDC64A
analogous
#4A93CD #4A51CD #854ACD
triadic
#4A51CD #CD4A51 #51CD4A
tetradic
#4A51CD #CD4A93 #CDC64A #4ACD85
square
#4A51CD #CD4A93 #CDC64A #4ACD85
split-complementary
#4A51CD #CD854A #93CD4A
monochromatic
#22277B #2F36AB #4A51CD #7A7FDA #AAADE7
Accessibility & contrast
On white
6.27
#4A51CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4A51CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A51CD
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A51CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A51CD | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4a51cd; /* rgb */ color: rgb(74, 81, 205); /* oklch */ color: oklch(50.4% 0.189 274.9);
Tailwind
colors: {
custom: {
50: '#8b82dd',
500: '#4a51cd',
950: '#000000',
},
}SCSS
$custom: #4a51cd; $custom-light: #8b82dd; $custom-dark: #000000;
JSON
{
"hex": "#4a51cd",
"rgb": {
"r": 74,
"g": 81,
"b": 205
},
"hsl": {
"h": 236.794,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.50407,
"c": 0.18851,
"h": 274.9
},
"luminance": 0.11748
}Semantic roles & 50–950 ramp
primary
#4A51CD
secondary
#D5D29E
accent
#D848E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83