#4E56C9#4E56C9

#4E56C9 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.176 H 275.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4E56C9
RGBrgb(78, 86, 201)
HSLhsl(236, 53%, 55%)
HSVhsv(236, 61%, 79%)
CMYKcmyk(61.2%, 57.2%, 0%, 21.2%)
CIE-LABlab(41.99, 31.82, -60.99)
CIE-LCHlch(41.99, 68.79, 297.55°)
OKLaboklab(51.25% 0.0162 -0.1752)
OKLCHoklch(51.25% 0.176 275.3)
XYZxyz(17.0088, 12.4910, 56.7617)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56C9 #C9C14E
analogous
#4E93C9 #4E56C9 #844EC9
triadic
#4E56C9 #C94E56 #56C94E
tetradic
#4E56C9 #C94E93 #C9C14E #4EC984
square
#4E56C9 #C94E93 #C9C14E #4EC984
split-complementary
#4E56C9 #C9844E #93C94E
monochromatic
#252A78 #333AA7 #4E56C9 #7D83D7 #ACB0E6

Accessibility & contrast

On white

6.00
#4E56C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E56C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56C9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56C9#FFFFFF#000000##FFFFFF
##4E56C91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e56c9;
/* rgb */ color: rgb(78, 86, 201);
/* oklch */ color: oklch(51.2% 0.176 275.3);
Tailwind
colors: {
  custom: {
    50: '#8c85da',
    500: '#4e56c9',
    950: '#000000',
  },
}
SCSS
$custom: #4e56c9;
$custom-light: #8c85da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56c9",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 201
  },
  "hsl": {
    "h": 236.098,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5125,
    "c": 0.17598,
    "h": 275.3
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#4E56C9
secondary
#D3D09F
accent
#D34BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E56C9

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

Preview Lab → · Contrast checker → · Palette generator →

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