#4E56BD#4E56BD

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

Color values

HEX#4E56BD
RGBrgb(78, 86, 189)
HSLhsl(236, 46%, 52%)
HSVhsv(236, 59%, 74%)
CMYKcmyk(58.7%, 54.5%, 0%, 25.9%)
CIE-LABlab(41.13, 27.80, -55.40)
CIE-LCHlch(41.13, 61.98, 296.64°)
OKLaboklab(50.34% 0.0159 -0.1588)
OKLCHoklch(50.34% 0.16 275.7)
XYZxyz(15.6520, 11.9482, 49.6157)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E56BD #BDB54E
analogous
#4E8DBD #4E56BD #7E4EBD
triadic
#4E56BD #BD4E56 #56BD4E
tetradic
#4E56BD #BD4E8D #BDB54E #4EBD7E
square
#4E56BD #BD4E8D #BDB54E #4EBD7E
split-complementary
#4E56BD #BD7E4E #8DBD4E
monochromatic
#272C69 #383F96 #4E56BD #7B81CE #A7ABDE

Accessibility & contrast

On white

6.20
#4E56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4E56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E56BD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E56BD#FFFFFF#000000##FFFFFF
##4E56BD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1066C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e56bd;
/* rgb */ color: rgb(78, 86, 189);
/* oklch */ color: oklch(50.3% 0.160 275.7);
Tailwind
colors: {
  custom: {
    50: '#8985d2',
    500: '#4e56bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e56bd;
$custom-light: #8985d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e56bd",
  "rgb": {
    "r": 78,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 235.676,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50344,
    "c": 0.15958,
    "h": 275.7
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#4E56BD
secondary
#CCC89B
accent
#CC52D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82

Preview Lab

Preview with #4E56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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