#4E56AD#4E56AD

#4E56AD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.137 H 276.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4E56AD
RGBrgb(78, 86, 173)
HSLhsl(235, 38%, 49%)
HSVhsv(235, 55%, 68%)
CMYKcmyk(54.9%, 50.3%, 0%, 32.2%)
CIE-LABlab(40.07, 22.45, -47.72)
CIE-LCHlch(40.07, 52.74, 295.20°)
OKLaboklab(49.2% 0.0148 -0.1362)
OKLCHoklch(49.2% 0.137 276.2)
XYZxyz(14.0101, 11.2915, 40.9683)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56AD #ADA54E
analogous
#4E86AD #4E56AD #764EAD
triadic
#4E56AD #AD4E56 #56AD4E
tetradic
#4E56AD #AD4E86 #ADA54E #4EAD76
square
#4E56AD #AD4E86 #ADA54E #4EAD76
split-complementary
#4E56AD #AD764E #86AD4E
monochromatic
#282C59 #3B4183 #4E56AD #777DC2 #A1A5D5

Accessibility & contrast

On white

6.44
#4E56AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4E56AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56AD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56AD#FFFFFF#000000##FFFFFF
##4E56AD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62B0
Deuteranopia (green-blind)
#1E5BAB
Tritanopia (blue-blind)
#1F6979
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e56ad;
/* rgb */ color: rgb(78, 86, 173);
/* oklch */ color: oklch(49.2% 0.137 276.2);
Tailwind
colors: {
  custom: {
    50: '#8785c6',
    500: '#4e56ad',
    950: '#000000',
  },
}
SCSS
$custom: #4e56ad;
$custom-light: #8785c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56ad",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 234.947,
    "s": 37.849,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.137,
    "h": 276.2
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#4E56AD
secondary
#C2BE95
accent
#C45ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E56AD

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

Preview Lab → · Contrast checker → · Palette generator →

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