#4D54ED#4D54ED

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

Color values

HEX#4D54ED
RGBrgb(77, 84, 237)
HSLhsl(237, 82%, 62%)
HSVhsv(237, 68%, 93%)
CMYKcmyk(67.5%, 64.6%, 0%, 7.1%)
CIE-LABlab(44.28, 44.89, -77.80)
CIE-LCHlch(44.28, 89.82, 299.99°)
OKLaboklab(53.8% 0.0153 -0.2246)
OKLCHoklch(53.8% 0.225 273.9)
XYZxyz(21.5119, 14.0309, 81.6789)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54ED #EDE64D
analogous
#4DA4ED #4D54ED #964DED
triadic
#4D54ED #ED4D54 #54ED4D
tetradic
#4D54ED #ED4DA4 #EDE64D #4DED96
square
#4D54ED #ED4DA4 #EDE64D #4DED96
split-complementary
#4D54ED #ED964D #A4ED4D
monochromatic
#1218AE #1720E6 #4D54ED #8589F3 #BCBFF8

Accessibility & contrast

On white

5.52
#4D54ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4D54ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54ED
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54ED#FFFFFF#000000##FFFFFF
##4D54ED1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#0061EA
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d54ed;
/* rgb */ color: rgb(77, 84, 237);
/* oklch */ color: oklch(53.8% 0.225 273.9);
Tailwind
colors: {
  custom: {
    50: '#9284f4',
    500: '#4d54ed',
    950: '#000000',
  },
}
SCSS
$custom: #4d54ed;
$custom-light: #9284f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54ed",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 237.375,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.22515,
    "h": 273.9
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#4D54ED
secondary
#E9E6AD
accent
#D507DE
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #4D54ED

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

Preview Lab → · Contrast checker → · Palette generator →

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