#4D56D2#4D56D2

#4D56D2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.188 H 274.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4D56D2
RGBrgb(77, 86, 210)
HSLhsl(236, 60%, 56%)
HSVhsv(236, 63%, 82%)
CMYKcmyk(63.3%, 59%, 0%, 17.6%)
CIE-LABlab(42.59, 34.68, -65.20)
CIE-LCHlch(42.59, 73.85, 298.01°)
OKLaboklab(51.89% 0.0151 -0.1876)
OKLCHoklch(51.89% 0.188 274.6)
XYZxyz(18.0174, 12.8850, 62.4978)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56D2 #D2C94D
analogous
#4D99D2 #4D56D2 #874DD2
triadic
#4D56D2 #D24D56 #56D24D
tetradic
#4D56D2 #D24D99 #D2C94D #4DD287
square
#4D56D2 #D24D99 #D2C94D #4DD287
split-complementary
#4D56D2 #D2874D #99D24D
monochromatic
#212883 #2E37B4 #4D56D2 #7E84DE #AFB3EB

Accessibility & contrast

On white

5.87
#4D56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4D56D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56D2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56D2#FFFFFF#000000##FFFFFF
##4D56D21.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d56d2;
/* rgb */ color: rgb(77, 86, 210);
/* oklch */ color: oklch(51.9% 0.188 274.6);
Tailwind
colors: {
  custom: {
    50: '#8d85e1',
    500: '#4d56d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d56d2;
$custom-light: #8d85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56d2",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 235.94,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.18824,
    "h": 274.6
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#4D56D2
secondary
#D9D5A2
accent
#D845E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D56D2

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

Preview Lab → · Contrast checker → · Palette generator →

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