#4D5CE7#4D5CE7

#4D5CE7 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.6% C 0.208 H 272.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4D5CE7
RGBrgb(77, 92, 231)
HSLhsl(234, 76%, 60%)
HSVhsv(234, 67%, 91%)
CMYKcmyk(66.7%, 60.2%, 0%, 9.4%)
CIE-LABlab(45.63, 38.07, -72.20)
CIE-LCHlch(45.63, 81.62, 297.81°)
OKLaboklab(54.65% 0.0098 -0.2081)
OKLCHoklch(54.65% 0.208 272.7)
XYZxyz(21.3067, 14.9996, 77.3582)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CE7 #E7D84D
analogous
#4DA9E7 #4D5CE7 #8B4DE7
triadic
#4D5CE7 #E74D5C #5CE74D
tetradic
#4D5CE7 #E74DA9 #E7D84D #4DE78B
square
#4D5CE7 #E74DA9 #E7D84D #4DE78B
split-complementary
#4D5CE7 #E78B4D #A9E74D
monochromatic
#1624A4 #1D30D9 #4D5CE7 #838DEE #B9BFF6

Accessibility & contrast

On white

5.25
#4D5CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4D5CE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CE7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CE7#FFFFFF#000000##FFFFFF
##4D5CE71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d5ce7;
/* rgb */ color: rgb(77, 92, 231);
/* oklch */ color: oklch(54.6% 0.208 272.7);
Tailwind
colors: {
  custom: {
    50: '#908af0',
    500: '#4d5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ce7;
$custom-light: #908af0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ce7",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 234.156,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.20838,
    "h": 272.7
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#4D5CE7
secondary
#E5E0AA
accent
#C50DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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