#4D56EC#4D56EC

#4D56EC is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.222 H 273.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4D56EC
RGBrgb(77, 86, 236)
HSLhsl(237, 81%, 61%)
HSVhsv(237, 67%, 93%)
CMYKcmyk(67.4%, 63.6%, 0%, 7.5%)
CIE-LABlab(44.64, 43.37, -76.64)
CIE-LCHlch(44.64, 88.06, 299.51°)
OKLaboklab(54.04% 0.014 -0.2212)
OKLCHoklch(54.04% 0.222 273.6)
XYZxyz(21.5236, 14.2875, 80.9641)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56EC #ECE34D
analogous
#4DA6EC #4D56EC #944DEC
triadic
#4D56EC #EC4D56 #56EC4D
tetradic
#4D56EC #EC4DA6 #ECE34D #4DEC94
square
#4D56EC #EC4DA6 #ECE34D #4DEC94
split-complementary
#4D56EC #EC944D #A6EC4D
monochromatic
#121BAC #1824E4 #4D56EC #848BF2 #BCBFF8

Accessibility & contrast

On white

5.44
#4D56EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4D56EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56EC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56EC#FFFFFF#000000##FFFFFF
##4D56EC1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0062E9
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d56ec;
/* rgb */ color: rgb(77, 86, 236);
/* oklch */ color: oklch(54.0% 0.222 273.6);
Tailwind
colors: {
  custom: {
    50: '#9286f3',
    500: '#4d56ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d56ec;
$custom-light: #9286f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56ec",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 236.604,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.22166,
    "h": 273.6
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#4D56EC
secondary
#E8E5AD
accent
#D108DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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