#4E5CD1#4E5CD1

#4E5CD1 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.179 H 273.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E5CD1
RGBrgb(78, 92, 209)
HSLhsl(234, 59%, 56%)
HSVhsv(234, 63%, 82%)
CMYKcmyk(62.7%, 56%, 0%, 18%)
CIE-LABlab(44.05, 30.77, -62.24)
CIE-LCHlch(44.05, 69.43, 296.31°)
OKLaboklab(52.97% 0.0109 -0.1789)
OKLCHoklch(52.97% 0.179 273.5)
XYZxyz(18.4738, 13.8759, 62.0140)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5CD1 #D1C34E
analogous
#4E9ED1 #4E5CD1 #824ED1
triadic
#4E5CD1 #D14E5C #5CD14E
tetradic
#4E5CD1 #D14E9E #D1C34E #4ED182
square
#4E5CD1 #D14E9E #D1C34E #4ED182
split-complementary
#4E5CD1 #D1824E #9ED14E
monochromatic
#222C83 #2F3DB3 #4E5CD1 #7F89DE #AFB5EA

Accessibility & contrast

On white

5.56
#4E5CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E5CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5CD1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5CD1#FFFFFF#000000##FFFFFF
##4E5CD11.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5cd1;
/* rgb */ color: rgb(78, 92, 209);
/* oklch */ color: oklch(53.0% 0.179 273.5);
Tailwind
colors: {
  custom: {
    50: '#8d8ae0',
    500: '#4e5cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5cd1;
$custom-light: #8d8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5cd1",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 233.588,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.17919,
    "h": 273.5
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#4E5CD1
secondary
#D8D3A2
accent
#D146E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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