#4E56BB#4E56BB

#4E56BB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.157 H 275.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4E56BB
RGBrgb(78, 86, 187)
HSLhsl(236, 44%, 52%)
HSVhsv(236, 58%, 73%)
CMYKcmyk(58.3%, 54%, 0%, 26.7%)
CIE-LABlab(41.00, 27.12, -54.45)
CIE-LCHlch(41.00, 60.83, 296.48°)
OKLaboklab(50.2% 0.0158 -0.156)
OKLCHoklch(50.2% 0.157 275.8)
XYZxyz(15.4364, 11.8620, 48.4802)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56BB #BBB34E
analogous
#4E8DBB #4E56BB #7C4EBB
triadic
#4E56BB #BB4E56 #56BB4E
tetradic
#4E56BB #BB4E8D #BBB34E #4EBB7C
square
#4E56BB #BB4E8D #BBB34E #4EBB7C
split-complementary
#4E56BB #BB7C4E #8DBB4E
monochromatic
#282C67 #393F93 #4E56BB #7A80CC #A6AADD

Accessibility & contrast

On white

6.23
#4E56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4E56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56BB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56BB#FFFFFF#000000##FFFFFF
##4E56BB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1565BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e56bb;
/* rgb */ color: rgb(78, 86, 187);
/* oklch */ color: oklch(50.2% 0.157 275.8);
Tailwind
colors: {
  custom: {
    50: '#8985d0',
    500: '#4e56bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e56bb;
$custom-light: #8985d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56bb",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 235.596,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50197,
    "c": 0.1568,
    "h": 275.8
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#4E56BB
secondary
#CAC79B
accent
#CB54D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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