#4E56AF#4E56AF

#4E56AF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.140 H 276.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4E56AF
RGBrgb(78, 86, 175)
HSLhsl(235, 38%, 50%)
HSVhsv(235, 55%, 69%)
CMYKcmyk(55.4%, 50.9%, 0%, 31.4%)
CIE-LABlab(40.20, 23.12, -48.69)
CIE-LCHlch(40.20, 53.90, 295.40°)
OKLaboklab(49.34% 0.015 -0.1391)
OKLCHoklch(49.34% 0.14 276.1)
XYZxyz(14.2051, 11.3695, 41.9951)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56AF #AFA74E
analogous
#4E86AF #4E56AF #774EAF
triadic
#4E56AF #AF4E56 #56AF4E
tetradic
#4E56AF #AF4E86 #AFA74E #4EAF77
square
#4E56AF #AF4E86 #AFA74E #4EAF77
split-complementary
#4E56AF #AF774E #86AF4E
monochromatic
#282C5A #3B4185 #4E56AF #787EC3 #A2A6D6

Accessibility & contrast

On white

6.41
#4E56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4E56AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56AF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56AF#FFFFFF#000000##FFFFFF
##4E56AF1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#1C6A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e56af;
/* rgb */ color: rgb(78, 86, 175);
/* oklch */ color: oklch(49.3% 0.140 276.1);
Tailwind
colors: {
  custom: {
    50: '#8785c7',
    500: '#4e56af',
    950: '#000000',
  },
}
SCSS
$custom: #4e56af;
$custom-light: #8785c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56af",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 235.052,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4934,
    "c": 0.13986,
    "h": 276.1
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#4E56AF
secondary
#C3BF96
accent
#C55ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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