#4D56D0#4D56D0

#4D56D0 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.186 H 274.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4D56D0
RGBrgb(77, 86, 208)
HSLhsl(236, 58%, 56%)
HSVhsv(236, 63%, 82%)
CMYKcmyk(63%, 58.7%, 0%, 18.4%)
CIE-LABlab(42.44, 34.01, -64.29)
CIE-LCHlch(42.44, 72.73, 297.88°)
OKLaboklab(51.73% 0.0151 -0.185)
OKLCHoklch(51.73% 0.186 274.7)
XYZxyz(17.7698, 12.7859, 61.1938)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56D0 #D0C74D
analogous
#4D97D0 #4D56D0 #854DD0
triadic
#4D56D0 #D04D56 #56D04D
tetradic
#4D56D0 #D04D97 #D0C74D #4DD085
square
#4D56D0 #D04D97 #D0C74D #4DD085
split-complementary
#4D56D0 #D0854D #97D04D
monochromatic
#222881 #2F38B1 #4D56D0 #7D84DD #AEB2EA

Accessibility & contrast

On white

5.90
#4D56D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4D56D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56D0
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56D0#FFFFFF#000000##FFFFFF
##4D56D01.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d56d0;
/* rgb */ color: rgb(77, 86, 208);
/* oklch */ color: oklch(51.7% 0.186 274.7);
Tailwind
colors: {
  custom: {
    50: '#8c85df',
    500: '#4d56d0',
    950: '#000000',
  },
}
SCSS
$custom: #4d56d0;
$custom-light: #8c85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56d0",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 235.878,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51732,
    "c": 0.18559,
    "h": 274.7
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#4D56D0
secondary
#D8D4A1
accent
#D746E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D56D0

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

Preview Lab → · Contrast checker → · Palette generator →

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