#4E56AE#4E56AE

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

Color values

HEX#4E56AE
RGBrgb(78, 86, 174)
HSLhsl(235, 38%, 49%)
HSVhsv(235, 55%, 68%)
CMYKcmyk(55.2%, 50.6%, 0%, 31.8%)
CIE-LABlab(40.13, 22.79, -48.21)
CIE-LCHlch(40.13, 53.32, 295.30°)
OKLaboklab(49.27% 0.0149 -0.1376)
OKLCHoklch(49.27% 0.138 276.2)
XYZxyz(14.1072, 11.3303, 41.4798)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56AE #AEA64E
analogous
#4E86AE #4E56AE #764EAE
triadic
#4E56AE #AE4E56 #56AE4E
tetradic
#4E56AE #AE4E86 #AEA64E #4EAE76
square
#4E56AE #AE4E86 #AEA64E #4EAE76
split-complementary
#4E56AE #AE764E #86AE4E
monochromatic
#282C59 #3B4184 #4E56AE #777DC2 #A1A6D5

Accessibility & contrast

On white

6.43
#4E56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56AE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56AE#FFFFFF#000000##FFFFFF
##4E56AE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#1C5BAC
Tritanopia (blue-blind)
#1E6A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e56ae;
/* rgb */ color: rgb(78, 86, 174);
/* oklch */ color: oklch(49.3% 0.138 276.2);
Tailwind
colors: {
  custom: {
    50: '#8785c7',
    500: '#4e56ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e56ae;
$custom-light: #8785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56ae",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 235,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49271,
    "c": 0.13843,
    "h": 276.2
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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