#4C4EBA#4C4EBA
#4C4EBA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.166 H 277.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4C4EBA |
|---|---|
| RGB | rgb(76, 78, 186) |
| HSL | hsl(239, 44%, 51%) |
| HSV | hsv(239, 59%, 73%) |
| CMYK | cmyk(59.1%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(38.78, 31.46, -57.47) |
| CIE-LCH | lch(38.78, 65.51, 298.70°) |
| OKLab | oklab(48.49% 0.0215 -0.165) |
| OKLCH | oklch(48.49% 0.166 277.4) |
| XYZ | xyz(14.5650, 10.5294, 47.7097) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.80
Iris
#6258C4
ΔE00 4.62
Blue Blue
#2242C7
ΔE00 5.20
Warm Blue
#4B57DB
ΔE00 5.27
Blue With A Hint Of Purple
#533CC6
ΔE00 5.63
Bluey Purple
#6241C7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C4EBA #BAB84C
analogous
#4C85BA #4C4EBA #814CBA
triadic
#4C4EBA #BA4C4E #4EBA4C
tetradic
#4C4EBA #BA4C85 #BAB84C #4CBA81
square
#4C4EBA #BA4C85 #BAB84C #4CBA81
split-complementary
#4C4EBA #BA814C #85BA4C
monochromatic
#272865 #383991 #4C4EBA #787ACB #A4A5DC
Accessibility & contrast
On white
6.76
#4C4EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#4C4EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C4EBA
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C4EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C4EBA | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4c4eba; /* rgb */ color: rgb(76, 78, 186); /* oklch */ color: oklch(48.5% 0.166 277.4);
Tailwind
colors: {
custom: {
50: '#887fcf',
500: '#4c4eba',
950: '#000000',
},
}SCSS
$custom: #4c4eba; $custom-light: #887fcf; $custom-dark: #000000;
JSON
{
"hex": "#4c4eba",
"rgb": {
"r": 76,
"g": 78,
"b": 186
},
"hsl": {
"h": 238.909,
"s": 44.355,
"l": 51.373
},
"oklch": {
"l": 0.48485,
"c": 0.16639,
"h": 277.4
},
"luminance": 0.1053
}Semantic roles & 50–950 ramp
primary
#4C4EBA
secondary
#C9C899
accent
#D254D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82