#4E56AB#4E56AB

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

Color values

HEX#4E56AB
RGBrgb(78, 86, 171)
HSLhsl(235, 37%, 49%)
HSVhsv(235, 54%, 67%)
CMYKcmyk(54.4%, 49.7%, 0%, 32.9%)
CIE-LABlab(39.94, 21.79, -46.74)
CIE-LCHlch(39.94, 51.57, 294.99°)
OKLaboklab(49.07% 0.0146 -0.1333)
OKLCHoklch(49.07% 0.134 276.2)
XYZxyz(13.8180, 11.2146, 39.9567)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56AB #ABA34E
analogous
#4E85AB #4E56AB #754EAB
triadic
#4E56AB #AB4E56 #56AB4E
tetradic
#4E56AB #AB4E85 #ABA34E #4EAB75
square
#4E56AB #AB4E85 #ABA34E #4EAB75
split-complementary
#4E56AB #AB754E #85AB4E
monochromatic
#282C57 #3B4181 #4E56AB #767CC0 #A0A4D4

Accessibility & contrast

On white

6.48
#4E56AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E56AB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56AB#FFFFFF#000000##FFFFFF
##4E56AB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D62AE
Deuteranopia (green-blind)
#215AA9
Tritanopia (blue-blind)
#226978
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e56ab;
/* rgb */ color: rgb(78, 86, 171);
/* oklch */ color: oklch(49.1% 0.134 276.2);
Tailwind
colors: {
  custom: {
    50: '#8785c4',
    500: '#4e56ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e56ab;
$custom-light: #8785c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56ab",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 234.839,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49065,
    "c": 0.13411,
    "h": 276.2
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#4E56AB
secondary
#C1BD94
accent
#C35ACD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E56AB

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

Preview Lab → · Contrast checker → · Palette generator →

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