#4E56CD#4E56CD

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

Color values

HEX#4E56CD
RGBrgb(78, 86, 205)
HSLhsl(236, 56%, 55%)
HSVhsv(236, 62%, 80%)
CMYKcmyk(62%, 58%, 0%, 19.6%)
CIE-LABlab(42.28, 33.16, -62.82)
CIE-LCHlch(42.28, 71.04, 297.83°)
OKLaboklab(51.56% 0.0162 -0.1806)
OKLCHoklch(51.56% 0.181 275.1)
XYZxyz(17.4855, 12.6816, 59.2721)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56CD #CDC54E
analogous
#4E96CD #4E56CD #854ECD
triadic
#4E56CD #CD4E56 #56CD4E
tetradic
#4E56CD #CD4E96 #CDC54E #4ECD85
square
#4E56CD #CD4E96 #CDC54E #4ECD85
split-complementary
#4E56CD #CD854E #96CD4E
monochromatic
#23297D #3139AD #4E56CD #7E84DA #ADB1E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E56CD#FFFFFF#000000##FFFFFF
##4E56CD1.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)
#0069D1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e56cd;
/* rgb */ color: rgb(78, 86, 205);
/* oklch */ color: oklch(51.6% 0.181 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c85dd',
    500: '#4e56cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e56cd;
$custom-light: #8c85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56cd",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 236.22,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.18135,
    "h": 275.1
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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