#4E56B4#4E56B4

#4E56B4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.7% C 0.147 H 276.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4E56B4
RGBrgb(78, 86, 180)
HSLhsl(235, 40%, 51%)
HSVhsv(235, 57%, 71%)
CMYKcmyk(56.7%, 52.2%, 0%, 29.4%)
CIE-LABlab(40.52, 24.78, -51.11)
CIE-LCHlch(40.52, 56.80, 295.87°)
OKLaboklab(49.69% 0.0154 -0.1462)
OKLCHoklch(49.69% 0.147 276)
XYZxyz(14.7052, 11.5695, 44.6294)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56B4 #B4AC4E
analogous
#4E89B4 #4E56B4 #794EB4
triadic
#4E56B4 #B44E56 #56B44E
tetradic
#4E56B4 #B44E89 #B4AC4E #4EB479
square
#4E56B4 #B44E89 #B4AC4E #4EB479
split-complementary
#4E56B4 #B4794E #89B44E
monochromatic
#282D5F #3B418A #4E56B4 #797FC6 #A4A8D8

Accessibility & contrast

On white

6.34
#4E56B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E56B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56B4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56B4#FFFFFF#000000##FFFFFF
##4E56B41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B7
Deuteranopia (green-blind)
#0D5BB2
Tritanopia (blue-blind)
#146B7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e56b4;
/* rgb */ color: rgb(78, 86, 180);
/* oklch */ color: oklch(49.7% 0.147 276.0);
Tailwind
colors: {
  custom: {
    50: '#8885cb',
    500: '#4e56b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e56b4;
$custom-light: #8885cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56b4",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 180
  },
  "hsl": {
    "h": 235.294,
    "s": 40.476,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49692,
    "c": 0.14697,
    "h": 276
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#4E56B4
secondary
#C6C298
accent
#C757D0
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E56B4

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

Preview Lab → · Contrast checker → · Palette generator →

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