#4D56C0#4D56C0

#4D56C0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.164 H 275.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4D56C0
RGBrgb(77, 86, 192)
HSLhsl(235, 48%, 53%)
HSVhsv(235, 60%, 75%)
CMYKcmyk(59.9%, 55.2%, 0%, 24.7%)
CIE-LABlab(41.28, 28.62, -56.92)
CIE-LCHlch(41.28, 63.71, 296.69°)
OKLaboklab(50.5% 0.0149 -0.1633)
OKLCHoklch(50.5% 0.164 275.2)
XYZxyz(15.8997, 12.0379, 51.3446)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56C0 #C0B74D
analogous
#4D90C0 #4D56C0 #7D4DC0
triadic
#4D56C0 #C04D56 #56C04D
tetradic
#4D56C0 #C04D90 #C0B74D #4DC07D
square
#4D56C0 #C04D90 #C0B74D #4DC07D
split-complementary
#4D56C0 #C07D4D #90C04D
monochromatic
#262C6C #363E99 #4D56C0 #7A81D0 #A7ACE0

Accessibility & contrast

On white

6.16
#4D56C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4D56C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56C0
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56C0#FFFFFF#000000##FFFFFF
##4D56C01.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0466C4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d56c0;
/* rgb */ color: rgb(77, 86, 192);
/* oklch */ color: oklch(50.5% 0.164 275.2);
Tailwind
colors: {
  custom: {
    50: '#8985d4',
    500: '#4d56c0',
    950: '#000000',
  },
}
SCSS
$custom: #4d56c0;
$custom-light: #8985d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56c0",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 192
  },
  "hsl": {
    "h": 235.304,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.505,
    "c": 0.16397,
    "h": 275.2
  },
  "luminance": 0.12039
}

Semantic roles & 50–950 ramp

primary
#4D56C0
secondary
#CDC99B
accent
#CD50D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4D56C0

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

Preview Lab → · Contrast checker → · Palette generator →

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