#4D56E9#4D56E9

#4D56E9 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.8% C 0.218 H 273.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4D56E9
RGBrgb(77, 86, 233)
HSLhsl(237, 78%, 61%)
HSVhsv(237, 67%, 91%)
CMYKcmyk(67%, 63.1%, 0%, 8.6%)
CIE-LABlab(44.40, 42.38, -75.35)
CIE-LCHlch(44.40, 86.45, 299.36°)
OKLaboklab(53.78% 0.0142 -0.2174)
OKLCHoklch(53.78% 0.218 273.7)
XYZxyz(21.0914, 14.1146, 78.6879)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56E9 #E9E04D
analogous
#4DA4E9 #4D56E9 #924DE9
triadic
#4D56E9 #E94D56 #56E94D
tetradic
#4D56E9 #E94DA4 #E9E04D #4DE992
square
#4D56E9 #E94DA4 #E9E04D #4DE992
split-complementary
#4D56E9 #E9924D #A4E94D
monochromatic
#151DA7 #1B27DD #4D56E9 #838AF0 #BABDF6

Accessibility & contrast

On white

5.49
#4D56E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4D56E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56E9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56E9#FFFFFF#000000##FFFFFF
##4D56E91.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d56e9;
/* rgb */ color: rgb(77, 86, 233);
/* oklch */ color: oklch(53.8% 0.218 273.7);
Tailwind
colors: {
  custom: {
    50: '#9186f1',
    500: '#4d56e9',
    950: '#000000',
  },
}
SCSS
$custom: #4d56e9;
$custom-light: #9186f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56e9",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 236.538,
    "s": 78,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.21789,
    "h": 273.7
  },
  "luminance": 0.14117
}

Semantic roles & 50–950 ramp

primary
#4D56E9
secondary
#E6E3AB
accent
#CE0BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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