#4E56B5#4E56B5

#4E56B5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.148 H 276.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4E56B5
RGBrgb(78, 86, 181)
HSLhsl(235, 41%, 51%)
HSVhsv(235, 57%, 71%)
CMYKcmyk(56.9%, 52.5%, 0%, 29%)
CIE-LABlab(40.59, 25.12, -51.59)
CIE-LCHlch(40.59, 57.38, 295.96°)
OKLaboklab(49.76% 0.0154 -0.1476)
OKLCHoklch(49.76% 0.148 276)
XYZxyz(14.8075, 11.6104, 45.1679)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56B5 #B5AD4E
analogous
#4E89B5 #4E56B5 #794EB5
triadic
#4E56B5 #B54E56 #56B54E
tetradic
#4E56B5 #B54E89 #B5AD4E #4EB579
square
#4E56B5 #B54E89 #B5AD4E #4EB579
split-complementary
#4E56B5 #B5794E #89B54E
monochromatic
#282D60 #3A418B #4E56B5 #797FC7 #A4A8D9

Accessibility & contrast

On white

6.32
#4E56B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4E56B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56B5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56B5#FFFFFF#000000##FFFFFF
##4E56B51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2164B8
Deuteranopia (green-blind)
#095CB3
Tritanopia (blue-blind)
#126C7D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e56b5;
/* rgb */ color: rgb(78, 86, 181);
/* oklch */ color: oklch(49.8% 0.148 276.0);
Tailwind
colors: {
  custom: {
    50: '#8885cc',
    500: '#4e56b5',
    950: '#000000',
  },
}
SCSS
$custom: #4e56b5;
$custom-light: #8885cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56b5",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 181
  },
  "hsl": {
    "h": 235.34,
    "s": 41.036,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49763,
    "c": 0.1484,
    "h": 276
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#4E56B5
secondary
#C6C399
accent
#C757D1
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E56B5

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

Preview Lab → · Contrast checker → · Palette generator →

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