#4E5DC5#4E5DC5

#4E5DC5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.162 H 273.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4E5DC5
RGBrgb(78, 93, 197)
HSLhsl(232, 51%, 54%)
HSVhsv(232, 60%, 77%)
CMYKcmyk(60.4%, 52.8%, 0%, 22.7%)
CIE-LABlab(43.48, 26.08, -56.26)
CIE-LCHlch(43.48, 62.01, 294.87°)
OKLaboklab(52.28% 0.0093 -0.1613)
OKLCHoklch(52.28% 0.162 273.3)
XYZxyz(17.1310, 13.4783, 54.5113)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DC5 #C5B64E
analogous
#4E99C5 #4E5DC5 #7B4EC5
triadic
#4E5DC5 #C54E5D #5DC54E
tetradic
#4E5DC5 #C54E99 #C5B64E #4EC57B
square
#4E5DC5 #C54E99 #C5B64E #4EC57B
split-complementary
#4E5DC5 #C57B4E #99C54E
monochromatic
#262F73 #3542A1 #4E5DC5 #7C87D4 #AAB1E3

Accessibility & contrast

On white

5.68
#4E5DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E5DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DC5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DC5#FFFFFF#000000##FFFFFF
##4E5DC51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6CC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5dc5;
/* rgb */ color: rgb(78, 93, 197);
/* oklch */ color: oklch(52.3% 0.162 273.3);
Tailwind
colors: {
  custom: {
    50: '#8a8ad7',
    500: '#4e5dc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dc5;
$custom-light: #8a8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dc5",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 232.437,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.16153,
    "h": 273.3
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#4E5DC5
secondary
#D1CA9E
accent
#C84EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4E5DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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