#4D56C2#4D56C2

#4D56C2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.167 H 275.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4D56C2
RGBrgb(77, 86, 194)
HSLhsl(235, 49%, 53%)
HSVhsv(235, 60%, 76%)
CMYKcmyk(60.3%, 55.7%, 0%, 23.9%)
CIE-LABlab(41.42, 29.29, -57.85)
CIE-LCHlch(41.42, 64.85, 296.85°)
OKLaboklab(50.65% 0.015 -0.166)
OKLCHoklch(50.65% 0.167 275.1)
XYZxyz(16.1228, 12.1271, 52.5196)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56C2 #C2B94D
analogous
#4D90C2 #4D56C2 #7F4DC2
triadic
#4D56C2 #C24D56 #56C24D
tetradic
#4D56C2 #C24D90 #C2B94D #4DC27F
square
#4D56C2 #C24D90 #C2B94D #4DC27F
split-complementary
#4D56C2 #C27F4D #90C24D
monochromatic
#262C6F #363D9C #4D56C2 #7B81D2 #A8ADE1

Accessibility & contrast

On white

6.13
#4D56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4D56C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56C2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56C2#FFFFFF#000000##FFFFFF
##4D56C21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d56c2;
/* rgb */ color: rgb(77, 86, 194);
/* oklch */ color: oklch(50.6% 0.167 275.1);
Tailwind
colors: {
  custom: {
    50: '#8a85d5',
    500: '#4d56c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d56c2;
$custom-light: #8a85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56c2",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 235.385,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.16671,
    "h": 275.1
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#4D56C2
secondary
#CFCB9C
accent
#CE4FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4D56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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