#4D56D7#4D56D7

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

Color values

HEX#4D56D7
RGBrgb(77, 86, 215)
HSLhsl(236, 63%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(64.2%, 60%, 0%, 15.7%)
CIE-LABlab(42.97, 36.36, -67.44)
CIE-LCHlch(42.97, 76.62, 298.33°)
OKLaboklab(52.29% 0.015 -0.1942)
OKLCHoklch(52.29% 0.195 274.4)
XYZxyz(18.6500, 13.1381, 65.8299)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56D7 #D7CE4D
analogous
#4D9BD7 #4D56D7 #894DD7
triadic
#4D56D7 #D74D56 #56D74D
tetradic
#4D56D7 #D74D9B #D7CE4D #4DD789
square
#4D56D7 #D74D9B #D7CE4D #4DD789
split-complementary
#4D56D7 #D7894D #9BD74D
monochromatic
#1F268A #2A34BC #4D56D7 #7F85E2 #B1B5ED

Accessibility & contrast

On white

5.79
#4D56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4D56D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56D7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56D7#FFFFFF#000000##FFFFFF
##4D56D71.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d56d7;
/* rgb */ color: rgb(77, 86, 215);
/* oklch */ color: oklch(52.3% 0.195 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e85e4',
    500: '#4d56d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d56d7;
$custom-light: #8e85e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56d7",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 236.087,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.19481,
    "h": 274.4
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#4D56D7
secondary
#DCD8A4
accent
#DC41E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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