#4E56BC#4E56BC

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

Color values

HEX#4E56BC
RGBrgb(78, 86, 188)
HSLhsl(236, 45%, 52%)
HSVhsv(236, 59%, 74%)
CMYKcmyk(58.5%, 54.3%, 0%, 26.3%)
CIE-LABlab(41.06, 27.46, -54.93)
CIE-LCHlch(41.06, 61.41, 296.56°)
OKLaboklab(50.27% 0.0159 -0.1574)
OKLCHoklch(50.27% 0.158 275.8)
XYZxyz(15.5438, 11.9050, 49.0460)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56BC #BCB44E
analogous
#4E8DBC #4E56BC #7D4EBC
triadic
#4E56BC #BC4E56 #56BC4E
tetradic
#4E56BC #BC4E8D #BCB44E #4EBC7D
square
#4E56BC #BC4E8D #BCB44E #4EBC7D
split-complementary
#4E56BC #BC7D4E #8DBC4E
monochromatic
#272C68 #383F95 #4E56BC #7A80CD #A7ABDE

Accessibility & contrast

On white

6.21
#4E56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4E56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56BC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56BC#FFFFFF#000000##FFFFFF
##4E56BC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e56bc;
/* rgb */ color: rgb(78, 86, 188);
/* oklch */ color: oklch(50.3% 0.158 275.8);
Tailwind
colors: {
  custom: {
    50: '#8985d1',
    500: '#4e56bc',
    950: '#000000',
  },
}
SCSS
$custom: #4e56bc;
$custom-light: #8985d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56bc",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 235.636,
    "s": 45.082,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.1582,
    "h": 275.8
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#4E56BC
secondary
#CBC79B
accent
#CB53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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