#4D56D3#4D56D3

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

Color values

HEX#4D56D3
RGBrgb(77, 86, 211)
HSLhsl(236, 60%, 56%)
HSVhsv(236, 64%, 83%)
CMYKcmyk(63.5%, 59.2%, 0%, 17.3%)
CIE-LABlab(42.67, 35.02, -65.65)
CIE-LCHlch(42.67, 74.40, 298.08°)
OKLaboklab(51.97% 0.0151 -0.189)
OKLCHoklch(51.97% 0.19 274.6)
XYZxyz(18.1424, 12.9350, 63.1560)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56D3 #D3CA4D
analogous
#4D99D3 #4D56D3 #874DD3
triadic
#4D56D3 #D34D56 #56D34D
tetradic
#4D56D3 #D34D99 #D3CA4D #4DD387
square
#4D56D3 #D34D99 #D3CA4D #4DD387
split-complementary
#4D56D3 #D3874D #99D34D
monochromatic
#212885 #2D36B6 #4D56D3 #7E85DF #AFB3EB

Accessibility & contrast

On white

5.85
#4D56D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4D56D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56D3
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56D3#FFFFFF#000000##FFFFFF
##4D56D31.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d56d3;
/* rgb */ color: rgb(77, 86, 211);
/* oklch */ color: oklch(52.0% 0.190 274.6);
Tailwind
colors: {
  custom: {
    50: '#8d85e1',
    500: '#4d56d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d56d3;
$custom-light: #8d85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56d3",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 235.97,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.18956,
    "h": 274.6
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#4D56D3
secondary
#D9D6A2
accent
#D944E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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