#4D5CE4#4D5CE4

#4D5CE4 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.4% C 0.205 H 272.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4D5CE4
RGBrgb(77, 92, 228)
HSLhsl(234, 74%, 60%)
HSVhsv(234, 66%, 89%)
CMYKcmyk(66.2%, 59.6%, 0%, 10.6%)
CIE-LABlab(45.40, 37.06, -70.88)
CIE-LCHlch(45.40, 79.98, 297.60°)
OKLaboklab(54.4% 0.0099 -0.2043)
OKLCHoklch(54.4% 0.205 272.8)
XYZxyz(20.8866, 14.8316, 75.1458)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CE4 #E4D54D
analogous
#4DA7E4 #4D5CE4 #8A4DE4
triadic
#4D5CE4 #E44D5C #5CE44D
tetradic
#4D5CE4 #E44DA7 #E4D54D #4DE48A
square
#4D5CE4 #E44DA7 #E4D54D #4DE48A
split-complementary
#4D5CE4 #E48A4D #A7E44D
monochromatic
#18259F #2032D4 #4D5CE4 #828DEC #B7BDF4

Accessibility & contrast

On white

5.29
#4D5CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4D5CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CE4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CE4#FFFFFF#000000##FFFFFF
##4D5CE41.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5ce4;
/* rgb */ color: rgb(77, 92, 228);
/* oklch */ color: oklch(54.4% 0.205 272.8);
Tailwind
colors: {
  custom: {
    50: '#908aed',
    500: '#4d5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ce4;
$custom-light: #908aed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ce4",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 234.04,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54402,
    "c": 0.20451,
    "h": 272.8
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#4D5CE4
secondary
#E4DEA9
accent
#DE37F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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