#4E5DC7#4E5DC7

#4E5DC7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.164 H 273.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4E5DC7
RGBrgb(78, 93, 199)
HSLhsl(233, 52%, 54%)
HSVhsv(233, 61%, 78%)
CMYKcmyk(60.8%, 53.3%, 0%, 22%)
CIE-LABlab(43.61, 26.75, -57.20)
CIE-LCHlch(43.61, 63.15, 295.07°)
OKLaboklab(52.42% 0.0095 -0.164)
OKLCHoklch(52.42% 0.164 273.3)
XYZxyz(17.3616, 13.5705, 55.7262)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DC7 #C7B84E
analogous
#4E9AC7 #4E5DC7 #7C4EC7
triadic
#4E5DC7 #C74E5D #5DC74E
tetradic
#4E5DC7 #C74E9A #C7B84E #4EC77C
square
#4E5DC7 #C74E9A #C7B84E #4EC77C
split-complementary
#4E5DC7 #C77C4E #9AC74E
monochromatic
#252F75 #3442A4 #4E5DC7 #7C88D6 #ABB2E4

Accessibility & contrast

On white

5.65
#4E5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E5DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DC7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DC7#FFFFFF#000000##FFFFFF
##4E5DC71.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196DCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5dc7;
/* rgb */ color: rgb(78, 93, 199);
/* oklch */ color: oklch(52.4% 0.164 273.3);
Tailwind
colors: {
  custom: {
    50: '#8b8ad9',
    500: '#4e5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dc7;
$custom-light: #8b8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dc7",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 232.562,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5242,
    "c": 0.16429,
    "h": 273.3
  },
  "luminance": 0.13572
}

Semantic roles & 50–950 ramp

primary
#4E5DC7
secondary
#D2CC9F
accent
#CA4CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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