#4D56CE#4D56CE

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

Color values

HEX#4D56CE
RGBrgb(77, 86, 206)
HSLhsl(236, 57%, 55%)
HSVhsv(236, 63%, 81%)
CMYKcmyk(62.6%, 58.3%, 0%, 19.2%)
CIE-LABlab(42.29, 33.34, -63.38)
CIE-LCHlch(42.29, 71.62, 297.74°)
OKLaboklab(51.58% 0.0151 -0.1823)
OKLCHoklch(51.58% 0.183 274.7)
XYZxyz(17.5253, 12.6881, 59.9061)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56CE #CEC54D
analogous
#4D96CE #4D56CE #844DCE
triadic
#4D56CE #CE4D56 #56CE4D
tetradic
#4D56CE #CE4D96 #CEC54D #4DCE84
square
#4D56CE #CE4D96 #CEC54D #4DCE84
split-complementary
#4D56CE #CE844D #96CE4D
monochromatic
#23297E #3039AE #4D56CE #7D84DB #ADB1E8

Accessibility & contrast

On white

5.94
#4D56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4D56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56CE
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56CE#FFFFFF#000000##FFFFFF
##4D56CE1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d56ce;
/* rgb */ color: rgb(77, 86, 206);
/* oklch */ color: oklch(51.6% 0.183 274.7);
Tailwind
colors: {
  custom: {
    50: '#8c85de',
    500: '#4d56ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d56ce;
$custom-light: #8c85de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56ce",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 235.814,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.18293,
    "h": 274.7
  },
  "luminance": 0.1269
}

Semantic roles & 50–950 ramp

primary
#4D56CE
secondary
#D6D3A1
accent
#D548E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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