#4E56A5#4E56A5

#4E56A5 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.125 H 276.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4E56A5
RGBrgb(78, 86, 165)
HSLhsl(234, 36%, 48%)
HSVhsv(234, 53%, 65%)
CMYKcmyk(52.7%, 47.9%, 0%, 35.3%)
CIE-LABlab(39.57, 19.81, -43.78)
CIE-LCHlch(39.57, 48.05, 294.35°)
OKLaboklab(48.66% 0.0138 -0.1246)
OKLCHoklch(48.66% 0.125 276.3)
XYZxyz(13.2591, 10.9911, 37.0128)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56A5 #A59D4E
analogous
#4E81A5 #4E56A5 #724EA5
triadic
#4E56A5 #A54E56 #56A54E
tetradic
#4E56A5 #A54E81 #A59D4E #4EA572
square
#4E56A5 #A54E81 #A59D4E #4EA572
split-complementary
#4E56A5 #A5724E #81A54E
monochromatic
#272B52 #3A407B #4E56A5 #737ABD #9DA2D1

Accessibility & contrast

On white

6.57
#4E56A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4E56A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56A5
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56A5#FFFFFF#000000##FFFFFF
##4E56A51.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3261A8
Deuteranopia (green-blind)
#295AA3
Tritanopia (blue-blind)
#286775
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e56a5;
/* rgb */ color: rgb(78, 86, 165);
/* oklch */ color: oklch(48.7% 0.125 276.3);
Tailwind
colors: {
  custom: {
    50: '#8685c0',
    500: '#4e56a5',
    950: '#000000',
  },
}
SCSS
$custom: #4e56a5;
$custom-light: #8685c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56a5",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 234.483,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.12539,
    "h": 276.3
  },
  "luminance": 0.10992
}

Semantic roles & 50–950 ramp

primary
#4E56A5
secondary
#BDB991
accent
#C25CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E56A5

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

Preview Lab → · Contrast checker → · Palette generator →

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