#4D4CE5#4D4CE5

#4D4CE5 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.8% C 0.224 H 275.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4D4CE5
RGBrgb(77, 76, 229)
HSLhsl(240, 75%, 60%)
HSVhsv(240, 67%, 90%)
CMYKcmyk(66.4%, 66.8%, 0%, 10.2%)
CIE-LABlab(41.85, 46.97, -77.26)
CIE-LCHlch(41.85, 90.41, 301.30°)
OKLaboklab(51.83% 0.0215 -0.2231)
OKLCHoklch(51.83% 0.224 275.5)
XYZxyz(19.7832, 12.4020, 75.4648)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CE5 #E4E54C
analogous
#4C98E5 #4D4CE5 #994CE5
triadic
#4D4CE5 #E54D4C #4CE54D
tetradic
#4D4CE5 #E54C98 #E4E54C #4CE599
square
#4D4CE5 #E54C98 #E4E54C #4CE599
split-complementary
#4D4CE5 #E5994C #98E54C
monochromatic
#18179F #201FD5 #4D4CE5 #8281ED #B7B7F5

Accessibility & contrast

On white

6.03
#4D4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4D4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CE5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CE5#FFFFFF#000000##FFFFFF
##4D4CE51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d4ce5;
/* rgb */ color: rgb(77, 76, 229);
/* oklch */ color: oklch(51.8% 0.224 275.5);
Tailwind
colors: {
  custom: {
    50: '#917fee',
    500: '#4d4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ce5;
$custom-light: #917fee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ce5",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 240.392,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.2241,
    "h": 275.5
  },
  "luminance": 0.12404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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