#4E56B3#4E56B3

#4E56B3 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.146 H 276.0°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4E56B3
RGBrgb(78, 86, 179)
HSLhsl(235, 40%, 50%)
HSVhsv(235, 56%, 70%)
CMYKcmyk(56.4%, 52%, 0%, 29.8%)
CIE-LABlab(40.46, 24.45, -50.63)
CIE-LCHlch(40.46, 56.22, 295.78°)
OKLaboklab(49.62% 0.0153 -0.1448)
OKLCHoklch(49.62% 0.146 276)
XYZxyz(14.6037, 11.5289, 44.0948)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56B3 #B3AB4E
analogous
#4E88B3 #4E56B3 #794EB3
triadic
#4E56B3 #B34E56 #56B34E
tetradic
#4E56B3 #B34E88 #B3AB4E #4EB379
square
#4E56B3 #B34E88 #B3AB4E #4EB379
split-complementary
#4E56B3 #B3794E #88B34E
monochromatic
#282D5E #3B4189 #4E56B3 #797FC5 #A4A8D8

Accessibility & contrast

On white

6.35
#4E56B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4E56B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56B3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56B3#FFFFFF#000000##FFFFFF
##4E56B31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B6
Deuteranopia (green-blind)
#105BB1
Tritanopia (blue-blind)
#166B7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e56b3;
/* rgb */ color: rgb(78, 86, 179);
/* oklch */ color: oklch(49.6% 0.146 276.0);
Tailwind
colors: {
  custom: {
    50: '#8885ca',
    500: '#4e56b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e56b3;
$custom-light: #8885ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56b3",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 235.248,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49621,
    "c": 0.14557,
    "h": 276
  },
  "luminance": 0.1153
}

Semantic roles & 50–950 ramp

primary
#4E56B3
secondary
#C5C198
accent
#C658D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E56B3

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

Preview Lab → · Contrast checker → · Palette generator →

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