#4D56CD#4D56CD

#4D56CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.182 H 274.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4D56CD
RGBrgb(77, 86, 205)
HSLhsl(236, 56%, 55%)
HSVhsv(236, 62%, 80%)
CMYKcmyk(62.4%, 58%, 0%, 19.6%)
CIE-LABlab(42.22, 33.00, -62.93)
CIE-LCHlch(42.22, 71.06, 297.67°)
OKLaboklab(51.5% 0.0151 -0.181)
OKLCHoklch(51.5% 0.182 274.8)
XYZxyz(17.4042, 12.6397, 59.2683)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56CD #CDC44D
analogous
#4D96CD #4D56CD #844DCD
triadic
#4D56CD #CD4D56 #56CD4D
tetradic
#4D56CD #CD4D96 #CDC44D #4DCD84
square
#4D56CD #CD4D96 #CDC44D #4DCD84
split-complementary
#4D56CD #CD844D #96CD4D
monochromatic
#23297D #3039AC #4D56CD #7D83DA #ADB1E8

Accessibility & contrast

On white

5.95
#4D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4D56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56CD#FFFFFF#000000##FFFFFF
##4D56CD1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d56cd;
/* rgb */ color: rgb(77, 86, 205);
/* oklch */ color: oklch(51.5% 0.182 274.8);
Tailwind
colors: {
  custom: {
    50: '#8c85dd',
    500: '#4d56cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d56cd;
$custom-light: #8c85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56cd",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 235.781,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51496,
    "c": 0.18159,
    "h": 274.8
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#4D56CD
secondary
#D6D2A0
accent
#D548DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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