#4C4DE5#4C4DE5

#4C4DE5 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.223 H 275.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4C4DE5
RGBrgb(76, 77, 229)
HSLhsl(240, 75%, 60%)
HSVhsv(240, 67%, 90%)
CMYKcmyk(66.8%, 66.4%, 0%, 10.2%)
CIE-LABlab(42.00, 46.27, -77.01)
CIE-LCHlch(42.00, 89.84, 301.00°)
OKLaboklab(51.92% 0.0197 -0.2224)
OKLCHoklch(51.92% 0.223 275.1)
XYZxyz(19.7726, 12.4996, 75.4842)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DE5 #E5E44C
analogous
#4C99E5 #4C4DE5 #984CE5
triadic
#4C4DE5 #E54C4D #4DE54C
tetradic
#4C4DE5 #E54C99 #E5E44C #4CE598
square
#4C4DE5 #E54C99 #E5E44C #4CE598
split-complementary
#4C4DE5 #E5984C #99E54C
monochromatic
#17189F #1F20D5 #4C4DE5 #8182ED #B7B7F5

Accessibility & contrast

On white

6.00
#4C4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4C4DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DE5
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DE5#FFFFFF#000000##FFFFFF
##4C4DE51.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005CE2
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4c4de5;
/* rgb */ color: rgb(76, 77, 229);
/* oklch */ color: oklch(51.9% 0.223 275.1);
Tailwind
colors: {
  custom: {
    50: '#907fee',
    500: '#4c4de5',
    950: '#000000',
  },
}
SCSS
$custom: #4c4de5;
$custom-light: #907fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4de5",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 239.608,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.22324,
    "h": 275.1
  },
  "luminance": 0.12501
}

Semantic roles & 50–950 ramp

primary
#4C4DE5
secondary
#E4E4A9
accent
#F037F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4C4DE5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4C4DE5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva