#4E56AC#4E56AC

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

Color values

HEX#4E56AC
RGBrgb(78, 86, 172)
HSLhsl(235, 38%, 49%)
HSVhsv(235, 55%, 67%)
CMYKcmyk(54.7%, 50%, 0%, 32.5%)
CIE-LABlab(40.00, 22.12, -47.23)
CIE-LCHlch(40.00, 52.15, 295.10°)
OKLaboklab(49.13% 0.0147 -0.1348)
OKLCHoklch(49.13% 0.136 276.2)
XYZxyz(13.9137, 11.2529, 40.4606)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56AC #ACA44E
analogous
#4E85AC #4E56AC #754EAC
triadic
#4E56AC #AC4E56 #56AC4E
tetradic
#4E56AC #AC4E85 #ACA44E #4EAC75
square
#4E56AC #AC4E85 #ACA44E #4EAC75
split-complementary
#4E56AC #AC754E #85AC4E
monochromatic
#282C58 #3B4182 #4E56AC #767DC1 #A0A5D4

Accessibility & contrast

On white

6.46
#4E56AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E56AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56AC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56AC#FFFFFF#000000##FFFFFF
##4E56AC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#1F5BAA
Tritanopia (blue-blind)
#206979
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e56ac;
/* rgb */ color: rgb(78, 86, 172);
/* oklch */ color: oklch(49.1% 0.136 276.2);
Tailwind
colors: {
  custom: {
    50: '#8785c5',
    500: '#4e56ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e56ac;
$custom-light: #8785c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56ac",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 234.894,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49133,
    "c": 0.13555,
    "h": 276.2
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E56AC

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

Preview Lab → · Contrast checker → · Palette generator →

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