#4E56A2#4E56A2

#4E56A2 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.121 H 276.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4E56A2
RGBrgb(78, 86, 162)
HSLhsl(234, 35%, 47%)
HSVhsv(234, 52%, 64%)
CMYKcmyk(51.9%, 46.9%, 0%, 36.5%)
CIE-LABlab(39.38, 18.82, -42.28)
CIE-LCHlch(39.38, 46.28, 294.00°)
OKLaboklab(48.46% 0.0134 -0.1202)
OKLCHoklch(48.46% 0.121 276.4)
XYZxyz(12.9892, 10.8831, 35.5916)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56A2 #A29A4E
analogous
#4E80A2 #4E56A2 #704EA2
triadic
#4E56A2 #A24E56 #56A24E
tetradic
#4E56A2 #A24E80 #A29A4E #4EA270
square
#4E56A2 #A24E80 #A29A4E #4EA270
split-complementary
#4E56A2 #A2704E #80A24E
monochromatic
#262A4F #3A4079 #4E56A2 #7279BB #9BA0CF

Accessibility & contrast

On white

6.61
#4E56A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4E56A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56A2
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56A2#FFFFFF#000000##FFFFFF
##4E56A21.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#2C59A0
Tritanopia (blue-blind)
#2B6674
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e56a2;
/* rgb */ color: rgb(78, 86, 162);
/* oklch */ color: oklch(48.5% 0.121 276.4);
Tailwind
colors: {
  custom: {
    50: '#8585be',
    500: '#4e56a2',
    950: '#000000',
  },
}
SCSS
$custom: #4e56a2;
$custom-light: #8585be;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56a2",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 162
  },
  "hsl": {
    "h": 234.286,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48463,
    "c": 0.12098,
    "h": 276.4
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#4E56A2
secondary
#BCB890
accent
#C15DCB
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4E56A2

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

Preview Lab → · Contrast checker → · Palette generator →

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