#4E56A0#4E56A0

#4E56A0 is a mid, moderate blue. Relative luminance 0.108; OKLCH L 48.3% C 0.118 H 276.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4E56A0
RGBrgb(78, 86, 160)
HSLhsl(234, 34%, 47%)
HSVhsv(234, 51%, 63%)
CMYKcmyk(51.2%, 46.3%, 0%, 37.3%)
CIE-LABlab(39.26, 18.17, -41.28)
CIE-LCHlch(39.26, 45.10, 293.76°)
OKLaboklab(48.33% 0.0131 -0.1173)
OKLCHoklch(48.33% 0.118 276.4)
XYZxyz(12.8128, 10.8126, 34.6628)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56A0 #A0984E
analogous
#4E7FA0 #4E56A0 #6F4EA0
triadic
#4E56A0 #A04E56 #56A04E
tetradic
#4E56A0 #A04E7F #A0984E #4EA06F
square
#4E56A0 #A04E7F #A0984E #4EA06F
split-complementary
#4E56A0 #A06F4E #7FA04E
monochromatic
#262A4E #3A4077 #4E56A0 #7178BA #9A9FCE

Accessibility & contrast

On white

6.64
#4E56A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4E56A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56A0
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56A0#FFFFFF#000000##FFFFFF
##4E56A01.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3660A3
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#2C6673
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e56a0;
/* rgb */ color: rgb(78, 86, 160);
/* oklch */ color: oklch(48.3% 0.118 276.4);
Tailwind
colors: {
  custom: {
    50: '#8585bc',
    500: '#4e56a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e56a0;
$custom-light: #8585bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56a0",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 160
  },
  "hsl": {
    "h": 234.146,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48333,
    "c": 0.11802,
    "h": 276.4
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#4E56A0
secondary
#BBB68F
accent
#C05DCB
background
#F8F8FB
surface
#F0EFF6
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E56A0

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

Preview Lab → · Contrast checker → · Palette generator →

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