#4D56E1#4D56E1

#4D56E1 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.1% C 0.208 H 274.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4D56E1
RGBrgb(77, 86, 225)
HSLhsl(236, 71%, 59%)
HSVhsv(236, 66%, 88%)
CMYKcmyk(65.8%, 61.8%, 0%, 11.8%)
CIE-LABlab(43.75, 39.71, -71.87)
CIE-LCHlch(43.75, 82.11, 298.93°)
OKLaboklab(53.11% 0.0146 -0.2072)
OKLCHoklch(53.11% 0.208 274)
XYZxyz(19.9745, 13.6678, 72.8051)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56E1 #E1D84D
analogous
#4DA0E1 #4D56E1 #8E4DE1
triadic
#4D56E1 #E14D56 #56E14D
tetradic
#4D56E1 #E14DA0 #E1D84D #4DE18E
square
#4D56E1 #E14DA0 #E1D84D #4DE18E
split-complementary
#4D56E1 #E18E4D #A0E14D
monochromatic
#1A229A #232DCE #4D56E1 #8188EA #B6B9F3

Accessibility & contrast

On white

5.62
#4D56E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4D56E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56E1
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56E1#FFFFFF#000000##FFFFFF
##4D56E11.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE5
Deuteranopia (green-blind)
#0061DE
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d56e1;
/* rgb */ color: rgb(77, 86, 225);
/* oklch */ color: oklch(53.1% 0.208 274.0);
Tailwind
colors: {
  custom: {
    50: '#8f86eb',
    500: '#4d56e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d56e1;
$custom-light: #8f86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56e1",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 236.351,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53112,
    "c": 0.20775,
    "h": 274
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#4D56E1
secondary
#E2DEA8
accent
#E33AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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