#4E56AA#4E56AA

#4E56AA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.133 H 276.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4E56AA
RGBrgb(78, 86, 170)
HSLhsl(235, 37%, 49%)
HSVhsv(235, 54%, 67%)
CMYKcmyk(54.1%, 49.4%, 0%, 33.3%)
CIE-LABlab(39.88, 21.46, -46.25)
CIE-LCHlch(39.88, 50.99, 294.89°)
OKLaboklab(49% 0.0144 -0.1319)
OKLCHoklch(49% 0.133 276.2)
XYZxyz(13.7231, 11.1767, 39.4566)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56AA #AAA24E
analogous
#4E84AA #4E56AA #744EAA
triadic
#4E56AA #AA4E56 #56AA4E
tetradic
#4E56AA #AA4E84 #AAA24E #4EAA74
square
#4E56AA #AA4E84 #AAA24E #4EAA74
split-complementary
#4E56AA #AA744E #84AA4E
monochromatic
#282C56 #3B4180 #4E56AA #757CC0 #9FA4D3

Accessibility & contrast

On white

6.49
#4E56AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4E56AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56AA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56AA#FFFFFF#000000##FFFFFF
##4E56AA1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E62AD
Deuteranopia (green-blind)
#235AA8
Tritanopia (blue-blind)
#236978
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e56aa;
/* rgb */ color: rgb(78, 86, 170);
/* oklch */ color: oklch(49.0% 0.133 276.2);
Tailwind
colors: {
  custom: {
    50: '#8685c4',
    500: '#4e56aa',
    950: '#000000',
  },
}
SCSS
$custom: #4e56aa;
$custom-light: #8685c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56aa",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 234.783,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.13267,
    "h": 276.2
  },
  "luminance": 0.11178
}

Semantic roles & 50–950 ramp

primary
#4E56AA
secondary
#C0BC94
accent
#C35BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E56AA

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

Preview Lab → · Contrast checker → · Palette generator →

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