#4E5DCD#4E5DCD

#4E5DCD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.173 H 273.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E5DCD
RGBrgb(78, 93, 205)
HSLhsl(233, 56%, 55%)
HSVhsv(233, 62%, 80%)
CMYKcmyk(62%, 54.6%, 0%, 19.6%)
CIE-LABlab(44.02, 28.79, -59.99)
CIE-LCHlch(44.02, 66.54, 295.64°)
OKLaboklab(52.86% 0.0098 -0.1722)
OKLCHoklch(52.86% 0.173 273.3)
XYZxyz(18.0720, 13.8547, 59.4676)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DCD #CDBE4E
analogous
#4E9DCD #4E5DCD #7E4ECD
triadic
#4E5DCD #CD4E5D #5DCD4E
tetradic
#4E5DCD #CD4E9D #CDBE4E #4ECD7E
square
#4E5DCD #CD4E9D #CDBE4E #4ECD7E
split-complementary
#4E5DCD #CD7E4E #9DCD4E
monochromatic
#232E7D #3140AD #4E5DCD #7E89DA #ADB4E8

Accessibility & contrast

On white

5.57
#4E5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4E5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DCD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DCD#FFFFFF#000000##FFFFFF
##4E5DCD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5dcd;
/* rgb */ color: rgb(78, 93, 205);
/* oklch */ color: oklch(52.9% 0.173 273.3);
Tailwind
colors: {
  custom: {
    50: '#8c8add',
    500: '#4e5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dcd;
$custom-light: #8c8add;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dcd",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 232.913,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52861,
    "c": 0.17251,
    "h": 273.3
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#4E5DCD
secondary
#D6D0A1
accent
#CD49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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