#4D54EC#4D54EC

#4D54EC is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.224 H 273.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4D54EC
RGBrgb(77, 84, 236)
HSLhsl(237, 81%, 61%)
HSVhsv(237, 67%, 93%)
CMYKcmyk(67.4%, 64.4%, 0%, 7.5%)
CIE-LABlab(44.19, 44.56, -77.37)
CIE-LCHlch(44.19, 89.29, 299.94°)
OKLaboklab(53.71% 0.0154 -0.2234)
OKLCHoklch(53.71% 0.224 273.9)
XYZxyz(21.3662, 13.9726, 80.9116)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54EC #ECE54D
analogous
#4DA4EC #4D54EC #954DEC
triadic
#4D54EC #EC4D54 #54EC4D
tetradic
#4D54EC #EC4DA4 #ECE54D #4DEC95
square
#4D54EC #EC4DA4 #ECE54D #4DEC95
split-complementary
#4D54EC #EC954D #A4EC4D
monochromatic
#1219AC #1821E4 #4D54EC #8489F2 #BCBEF8

Accessibility & contrast

On white

5.53
#4D54EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4D54EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54EC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54EC#FFFFFF#000000##FFFFFF
##4D54EC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0061E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d54ec;
/* rgb */ color: rgb(77, 84, 236);
/* oklch */ color: oklch(53.7% 0.224 273.9);
Tailwind
colors: {
  custom: {
    50: '#9284f3',
    500: '#4d54ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d54ec;
$custom-light: #9284f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54ec",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 237.358,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53712,
    "c": 0.22391,
    "h": 273.9
  },
  "luminance": 0.13975
}

Semantic roles & 50–950 ramp

primary
#4D54EC
secondary
#E8E6AD
accent
#D408DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D54EC

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

Preview Lab → · Contrast checker → · Palette generator →

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