#4D56D5#4D56D5

#4D56D5 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.192 H 274.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4D56D5
RGBrgb(77, 86, 213)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.8%, 59.6%, 0%, 16.5%)
CIE-LABlab(42.82, 35.69, -66.55)
CIE-LCHlch(42.82, 75.51, 298.21°)
OKLaboklab(52.13% 0.015 -0.1916)
OKLCHoklch(52.13% 0.192 274.5)
XYZxyz(18.3946, 13.0359, 64.4847)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56D5 #D5CC4D
analogous
#4D9AD5 #4D56D5 #884DD5
triadic
#4D56D5 #D54D56 #56D54D
tetradic
#4D56D5 #D54D9A #D5CC4D #4DD588
square
#4D56D5 #D54D9A #D5CC4D #4DD588
split-complementary
#4D56D5 #D5884D #9AD54D
monochromatic
#202788 #2C35B9 #4D56D5 #7F85E1 #B0B4EC

Accessibility & contrast

On white

5.82
#4D56D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4D56D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56D5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56D5#FFFFFF#000000##FFFFFF
##4D56D51.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d56d5;
/* rgb */ color: rgb(77, 86, 213);
/* oklch */ color: oklch(52.1% 0.192 274.5);
Tailwind
colors: {
  custom: {
    50: '#8d85e3',
    500: '#4d56d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d56d5;
$custom-light: #8d85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56d5",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 213
  },
  "hsl": {
    "h": 236.029,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52131,
    "c": 0.19219,
    "h": 274.5
  },
  "luminance": 0.13037
}

Semantic roles & 50–950 ramp

primary
#4D56D5
secondary
#DBD7A3
accent
#DA43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4D56D5

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

Preview Lab → · Contrast checker → · Palette generator →

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