#4E56A9#4E56A9

#4E56A9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.131 H 276.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4E56A9
RGBrgb(78, 86, 169)
HSLhsl(235, 37%, 48%)
HSVhsv(235, 54%, 66%)
CMYKcmyk(53.8%, 49.1%, 0%, 33.7%)
CIE-LABlab(39.81, 21.13, -45.76)
CIE-LCHlch(39.81, 50.40, 294.78°)
OKLaboklab(48.93% 0.0143 -0.1304)
OKLCHoklch(48.93% 0.131 276.3)
XYZxyz(13.6288, 11.1390, 38.9603)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56A9 #A9A14E
analogous
#4E83A9 #4E56A9 #734EA9
triadic
#4E56A9 #A94E56 #56A94E
tetradic
#4E56A9 #A94E83 #A9A14E #4EA973
square
#4E56A9 #A94E83 #A9A14E #4EA973
split-complementary
#4E56A9 #A9734E #83A94E
monochromatic
#272B55 #3B417F #4E56A9 #757BBF #9FA3D3

Accessibility & contrast

On white

6.51
#4E56A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4E56A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56A9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56A9#FFFFFF#000000##FFFFFF
##4E56A91.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AC
Deuteranopia (green-blind)
#245AA7
Tritanopia (blue-blind)
#246877
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e56a9;
/* rgb */ color: rgb(78, 86, 169);
/* oklch */ color: oklch(48.9% 0.131 276.3);
Tailwind
colors: {
  custom: {
    50: '#8685c3',
    500: '#4e56a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e56a9;
$custom-light: #8685c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56a9",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 169
  },
  "hsl": {
    "h": 234.725,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.13121,
    "h": 276.3
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#4E56A9
secondary
#BFBC93
accent
#C35BCD
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #4E56A9

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

Preview Lab → · Contrast checker → · Palette generator →

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