#4D56DC#4D56DC

#4D56DC is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.7% C 0.201 H 274.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4D56DC
RGBrgb(77, 86, 220)
HSLhsl(236, 67%, 58%)
HSVhsv(236, 65%, 86%)
CMYKcmyk(65%, 60.9%, 0%, 13.7%)
CIE-LABlab(43.36, 38.04, -69.67)
CIE-LCHlch(43.36, 79.38, 298.64°)
OKLaboklab(52.7% 0.0148 -0.2008)
OKLCHoklch(52.7% 0.201 274.2)
XYZxyz(19.3023, 13.3990, 69.2653)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56DC #DCD34D
analogous
#4D9DDC #4D56DC #8B4DDC
triadic
#4D56DC #DC4D56 #56DC4D
tetradic
#4D56DC #DC4D9D #DCD34D #4DDC8B
square
#4D56DC #DC4D9D #DCD34D #4DDC8B
split-complementary
#4D56DC #DC8B4D #9DDC4D
monochromatic
#1D2492 #2731C5 #4D56DC #8087E6 #B3B7F0

Accessibility & contrast

On white

5.71
#4D56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4D56DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56DC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56DC#FFFFFF#000000##FFFFFF
##4D56DC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d56dc;
/* rgb */ color: rgb(77, 86, 220);
/* oklch */ color: oklch(52.7% 0.201 274.2);
Tailwind
colors: {
  custom: {
    50: '#8e85e8',
    500: '#4d56dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d56dc;
$custom-light: #8e85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56dc",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 236.224,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.20131,
    "h": 274.2
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#4D56DC
secondary
#DFDBA6
accent
#DF3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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