#4E5DC4#4E5DC4

#4E5DC4 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.160 H 273.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E5DC4
RGBrgb(78, 93, 196)
HSLhsl(232, 50%, 54%)
HSVhsv(232, 60%, 77%)
CMYKcmyk(60.2%, 52.6%, 0%, 23.1%)
CIE-LABlab(43.41, 25.74, -55.79)
CIE-LCHlch(43.41, 61.44, 294.76°)
OKLaboklab(52.2% 0.0093 -0.1599)
OKLCHoklch(52.2% 0.16 273.3)
XYZxyz(17.0168, 13.4326, 53.9099)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5DC4 #C4B54E
analogous
#4E98C4 #4E5DC4 #7A4EC4
triadic
#4E5DC4 #C44E5D #5DC44E
tetradic
#4E5DC4 #C44E98 #C4B54E #4EC47A
square
#4E5DC4 #C44E98 #C4B54E #4EC47A
split-complementary
#4E5DC4 #C47A4E #98C44E
monochromatic
#263072 #3543A0 #4E5DC4 #7C87D3 #AAB1E3

Accessibility & contrast

On white

5.70
#4E5DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4E5DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5DC4
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5DC4#FFFFFF#000000##FFFFFF
##4E5DC41.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5dc4;
/* rgb */ color: rgb(78, 93, 196);
/* oklch */ color: oklch(52.2% 0.160 273.3);
Tailwind
colors: {
  custom: {
    50: '#8a8ad6',
    500: '#4e5dc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e5dc4;
$custom-light: #8a8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5dc4",
  "rgb": {
    "r": 78,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 232.373,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52203,
    "c": 0.16015,
    "h": 273.3
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E5DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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