#4D56D6#4D56D6

#4D56D6 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.2% C 0.194 H 274.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4D56D6
RGBrgb(77, 86, 214)
HSLhsl(236, 63%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(64%, 59.8%, 0%, 16.1%)
CIE-LABlab(42.89, 36.03, -67.00)
CIE-LCHlch(42.89, 76.07, 298.27°)
OKLaboklab(52.21% 0.015 -0.1929)
OKLCHoklch(52.21% 0.194 274.4)
XYZxyz(18.5219, 13.0868, 65.1552)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56D6 #D6CD4D
analogous
#4D9BD6 #4D56D6 #884DD6
triadic
#4D56D6 #D64D56 #56D64D
tetradic
#4D56D6 #D64D9B #D6CD4D #4DD688
square
#4D56D6 #D64D9B #D6CD4D #4DD688
split-complementary
#4D56D6 #D6884D #9BD64D
monochromatic
#202689 #2B34BB #4D56D6 #7F85E1 #B0B4ED

Accessibility & contrast

On white

5.80
#4D56D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4D56D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56D6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56D6#FFFFFF#000000##FFFFFF
##4D56D61.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d56d6;
/* rgb */ color: rgb(77, 86, 214);
/* oklch */ color: oklch(52.2% 0.194 274.4);
Tailwind
colors: {
  custom: {
    50: '#8d85e4',
    500: '#4d56d6',
    950: '#000000',
  },
}
SCSS
$custom: #4d56d6;
$custom-light: #8d85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56d6",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 214
  },
  "hsl": {
    "h": 236.058,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52211,
    "c": 0.1935,
    "h": 274.4
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#4D56D6
secondary
#DBD8A4
accent
#DB42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D56D6

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

Preview Lab → · Contrast checker → · Palette generator →

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