#4D5CE2#4D5CE2

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

Color values

HEX#4D5CE2
RGBrgb(77, 92, 226)
HSLhsl(234, 72%, 59%)
HSVhsv(234, 66%, 89%)
CMYKcmyk(65.9%, 59.3%, 0%, 11.4%)
CIE-LABlab(45.25, 36.38, -69.99)
CIE-LCHlch(45.25, 78.88, 297.47°)
OKLaboklab(54.24% 0.0099 -0.2017)
OKLCHoklch(54.24% 0.202 272.8)
XYZxyz(20.6106, 14.7212, 73.6921)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CE2 #E2D34D
analogous
#4DA6E2 #4D5CE2 #894DE2
triadic
#4D5CE2 #E24D5C #5CE24D
tetradic
#4D5CE2 #E24DA6 #E2D34D #4DE289
square
#4D5CE2 #E24DA6 #E2D34D #4DE289
split-complementary
#4D5CE2 #E2894D #A6E24D
monochromatic
#19269B #2233D0 #4D5CE2 #828CEB #B6BCF3

Accessibility & contrast

On white

5.32
#4D5CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4D5CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CE2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CE2#FFFFFF#000000##FFFFFF
##4D5CE21.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#007D96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5ce2;
/* rgb */ color: rgb(77, 92, 226);
/* oklch */ color: oklch(54.2% 0.202 272.8);
Tailwind
colors: {
  custom: {
    50: '#8f8aec',
    500: '#4d5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ce2;
$custom-light: #8f8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ce2",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 233.96,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54241,
    "c": 0.20191,
    "h": 272.8
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#4D5CE2
secondary
#E2DDA8
accent
#DC39EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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