#4D54E3#4D54E3

#4D54E3 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.9% C 0.213 H 274.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4D54E3
RGBrgb(77, 84, 227)
HSLhsl(237, 73%, 60%)
HSVhsv(237, 66%, 89%)
CMYKcmyk(66.1%, 63%, 0%, 11%)
CIE-LABlab(43.45, 41.59, -73.49)
CIE-LCHlch(43.45, 84.44, 299.50°)
OKLaboklab(52.94% 0.016 -0.212)
OKLCHoklch(52.94% 0.213 274.3)
XYZxyz(20.0914, 13.4627, 74.1979)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54E3 #E3DC4D
analogous
#4D9FE3 #4D54E3 #914DE3
triadic
#4D54E3 #E34D54 #54E34D
tetradic
#4D54E3 #E34D9F #E3DC4D #4DE391
square
#4D54E3 #E34D9F #E3DC4D #4DE391
split-complementary
#4D54E3 #E3914D #9FE34D
monochromatic
#191F9D #2129D2 #4D54E3 #8287EB #B7BAF4

Accessibility & contrast

On white

5.69
#4D54E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4D54E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54E3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54E3#FFFFFF#000000##FFFFFF
##4D54E31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#0060E0
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d54e3;
/* rgb */ color: rgb(77, 84, 227);
/* oklch */ color: oklch(52.9% 0.213 274.3);
Tailwind
colors: {
  custom: {
    50: '#9084ed',
    500: '#4d54e3',
    950: '#000000',
  },
}
SCSS
$custom: #4d54e3;
$custom-light: #9084ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54e3",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 237.2,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52942,
    "c": 0.21261,
    "h": 274.3
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#4D54E3
secondary
#E3E0A9
accent
#E738F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D54E3

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

Preview Lab → · Contrast checker → · Palette generator →

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