#4E56BF#4E56BF

#4E56BF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.162 H 275.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4E56BF
RGBrgb(78, 86, 191)
HSLhsl(236, 47%, 53%)
HSVhsv(236, 59%, 75%)
CMYKcmyk(59.2%, 55%, 0%, 25.1%)
CIE-LABlab(41.27, 28.47, -56.34)
CIE-LCHlch(41.27, 63.12, 296.81°)
OKLaboklab(50.49% 0.016 -0.1616)
OKLCHoklch(50.49% 0.162 275.7)
XYZxyz(15.8706, 12.0357, 50.7669)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56BF #BFB74E
analogous
#4E8FBF #4E56BF #7E4EBF
triadic
#4E56BF #BF4E56 #56BF4E
tetradic
#4E56BF #BF4E8F #BFB74E #4EBF7E
square
#4E56BF #BF4E8F #BFB74E #4EBF7E
split-complementary
#4E56BF #BF7E4E #8FBF4E
monochromatic
#272C6C #373E99 #4E56BF #7B81CF #A8ACE0

Accessibility & contrast

On white

6.16
#4E56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4E56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56BF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56BF#FFFFFF#000000##FFFFFF
##4E56BF1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0966C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e56bf;
/* rgb */ color: rgb(78, 86, 191);
/* oklch */ color: oklch(50.5% 0.162 275.7);
Tailwind
colors: {
  custom: {
    50: '#8a85d3',
    500: '#4e56bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e56bf;
$custom-light: #8a85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56bf",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 235.752,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50492,
    "c": 0.16235,
    "h": 275.7
  },
  "luminance": 0.12037
}

Semantic roles & 50–950 ramp

primary
#4E56BF
secondary
#CDC99C
accent
#CD51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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