#4E56A3#4E56A3

#4E56A3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.122 H 276.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#4E56A3
RGBrgb(78, 86, 163)
HSLhsl(234, 35%, 47%)
HSVhsv(234, 52%, 64%)
CMYKcmyk(52.1%, 47.2%, 0%, 36.1%)
CIE-LABlab(39.44, 19.15, -42.78)
CIE-LCHlch(39.44, 46.87, 294.12°)
OKLaboklab(48.53% 0.0136 -0.1217)
OKLCHoklch(48.53% 0.122 276.4)
XYZxyz(13.0785, 10.9188, 36.0616)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56A3 #A39B4E
analogous
#4E81A3 #4E56A3 #714EA3
triadic
#4E56A3 #A34E56 #56A34E
tetradic
#4E56A3 #A34E81 #A39B4E #4EA371
square
#4E56A3 #A34E81 #A39B4E #4EA371
split-complementary
#4E56A3 #A3714E #81A34E
monochromatic
#262A50 #3A407A #4E56A3 #7279BC #9CA1D0

Accessibility & contrast

On white

6.60
#4E56A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E56A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56A3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56A3#FFFFFF#000000##FFFFFF
##4E56A31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A6
Deuteranopia (green-blind)
#2B5AA1
Tritanopia (blue-blind)
#2A6774
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e56a3;
/* rgb */ color: rgb(78, 86, 163);
/* oklch */ color: oklch(48.5% 0.122 276.4);
Tailwind
colors: {
  custom: {
    50: '#8585bf',
    500: '#4e56a3',
    950: '#000000',
  },
}
SCSS
$custom: #4e56a3;
$custom-light: #8585bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56a3",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 163
  },
  "hsl": {
    "h": 234.353,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48529,
    "c": 0.12245,
    "h": 276.4
  },
  "luminance": 0.1092
}

Semantic roles & 50–950 ramp

primary
#4E56A3
secondary
#BCB891
accent
#C15CCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E56A3

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

Preview Lab → · Contrast checker → · Palette generator →

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