#4E56B0#4E56B0

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

Color values

HEX#4E56B0
RGBrgb(78, 86, 176)
HSLhsl(235, 39%, 50%)
HSVhsv(235, 56%, 69%)
CMYKcmyk(55.7%, 51.1%, 0%, 31%)
CIE-LABlab(40.26, 23.45, -49.18)
CIE-LCHlch(40.26, 54.48, 295.49°)
OKLaboklab(49.41% 0.015 -0.1405)
OKLCHoklch(49.41% 0.141 276.1)
XYZxyz(14.3036, 11.4089, 42.5143)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56B0 #B0A84E
analogous
#4E87B0 #4E56B0 #774EB0
triadic
#4E56B0 #B04E56 #56B04E
tetradic
#4E56B0 #B04E87 #B0A84E #4EB077
square
#4E56B0 #B04E87 #B0A84E #4EB077
split-complementary
#4E56B0 #B0774E #87B04E
monochromatic
#282D5B #3B4186 #4E56B0 #787EC3 #A2A7D6

Accessibility & contrast

On white

6.40
#4E56B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4E56B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56B0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56B0#FFFFFF#000000##FFFFFF
##4E56B01.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B3
Deuteranopia (green-blind)
#185BAE
Tritanopia (blue-blind)
#1B6A7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4e56b0;
/* rgb */ color: rgb(78, 86, 176);
/* oklch */ color: oklch(49.4% 0.141 276.1);
Tailwind
colors: {
  custom: {
    50: '#8785c8',
    500: '#4e56b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e56b0;
$custom-light: #8785c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56b0",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 176
  },
  "hsl": {
    "h": 235.102,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4941,
    "c": 0.14129,
    "h": 276.1
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#4E56B0
secondary
#C3BF97
accent
#C559CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E56B0

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

Preview Lab → · Contrast checker → · Palette generator →

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