#4D56CF#4D56CF

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

Color values

HEX#4D56CF
RGBrgb(77, 86, 207)
HSLhsl(236, 58%, 56%)
HSVhsv(236, 63%, 81%)
CMYKcmyk(62.8%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.36, 33.67, -63.84)
CIE-LCHlch(42.36, 72.17, 297.81°)
OKLaboklab(51.65% 0.0151 -0.1836)
OKLCHoklch(51.65% 0.184 274.7)
XYZxyz(17.6471, 12.7369, 60.5479)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56CF #CFC64D
analogous
#4D97CF #4D56CF #854DCF
triadic
#4D56CF #CF4D56 #56CF4D
tetradic
#4D56CF #CF4D97 #CFC64D #4DCF85
square
#4D56CF #CF4D97 #CFC64D #4DCF85
split-complementary
#4D56CF #CF854D #97CF4D
monochromatic
#22297F #2F38AF #4D56CF #7D84DC #ADB2E9

Accessibility & contrast

On white

5.92
#4D56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4D56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56CF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56CF#FFFFFF#000000##FFFFFF
##4D56CF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d56cf;
/* rgb */ color: rgb(77, 86, 207);
/* oklch */ color: oklch(51.7% 0.184 274.7);
Tailwind
colors: {
  custom: {
    50: '#8c85df',
    500: '#4d56cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d56cf;
$custom-light: #8c85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56cf",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 235.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51653,
    "c": 0.18426,
    "h": 274.7
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#4D56CF
secondary
#D7D3A1
accent
#D647E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D56CF

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

Preview Lab → · Contrast checker → · Palette generator →

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