#4E56C8#4E56C8

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

Color values

HEX#4E56C8
RGBrgb(78, 86, 200)
HSLhsl(236, 53%, 55%)
HSVhsv(236, 61%, 78%)
CMYKcmyk(61%, 57%, 0%, 21.6%)
CIE-LABlab(41.91, 31.49, -60.53)
CIE-LCHlch(41.91, 68.23, 297.48°)
OKLaboklab(51.17% 0.0162 -0.1739)
OKLCHoklch(51.17% 0.175 275.3)
XYZxyz(16.8916, 12.4441, 56.1442)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56C8 #C8C04E
analogous
#4E93C8 #4E56C8 #834EC8
triadic
#4E56C8 #C84E56 #56C84E
tetradic
#4E56C8 #C84E93 #C8C04E #4EC883
square
#4E56C8 #C84E93 #C8C04E #4EC883
split-complementary
#4E56C8 #C8834E #93C84E
monochromatic
#252A77 #333BA5 #4E56C8 #7D83D7 #ABAFE5

Accessibility & contrast

On white

6.02
#4E56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4E56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56C8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56C8#FFFFFF#000000##FFFFFF
##4E56C81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e56c8;
/* rgb */ color: rgb(78, 86, 200);
/* oklch */ color: oklch(51.2% 0.175 275.3);
Tailwind
colors: {
  custom: {
    50: '#8b85d9',
    500: '#4e56c8',
    950: '#000000',
  },
}
SCSS
$custom: #4e56c8;
$custom-light: #8b85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56c8",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 236.066,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51173,
    "c": 0.17463,
    "h": 275.3
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#4E56C8
secondary
#D3CF9F
accent
#D34CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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