#4D5CE1#4D5CE1

#4D5CE1 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.2% C 0.201 H 272.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4D5CE1
RGBrgb(77, 92, 225)
HSLhsl(234, 71%, 59%)
HSVhsv(234, 66%, 88%)
CMYKcmyk(65.8%, 59.1%, 0%, 11.8%)
CIE-LABlab(45.17, 36.04, -69.55)
CIE-LCHlch(45.17, 78.34, 297.40°)
OKLaboklab(54.16% 0.0099 -0.2004)
OKLCHoklch(54.16% 0.201 272.8)
XYZxyz(20.4738, 14.6665, 72.9715)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CE1 #E1D24D
analogous
#4DA6E1 #4D5CE1 #884DE1
triadic
#4D5CE1 #E14D5C #5CE14D
tetradic
#4D5CE1 #E14DA6 #E1D24D #4DE188
square
#4D5CE1 #E14DA6 #E1D24D #4DE188
split-complementary
#4D5CE1 #E1884D #A6E14D
monochromatic
#1A279A #2334CE #4D5CE1 #818CEA #B6BCF3

Accessibility & contrast

On white

5.34
#4D5CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4D5CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CE1
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CE1#FFFFFF#000000##FFFFFF
##4D5CE11.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5ce1;
/* rgb */ color: rgb(77, 92, 225);
/* oklch */ color: oklch(54.2% 0.201 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f8aeb',
    500: '#4d5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ce1;
$custom-light: #8f8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ce1",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 233.919,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54161,
    "c": 0.20061,
    "h": 272.8
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#4D5CE1
secondary
#E2DCA8
accent
#DC3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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