#4E5EC5#4E5EC5

#4E5EC5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.160 H 273.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4E5EC5
RGBrgb(78, 94, 197)
HSLhsl(232, 51%, 54%)
HSVhsv(232, 60%, 77%)
CMYKcmyk(60.4%, 52.3%, 0%, 22.7%)
CIE-LABlab(43.73, 25.44, -55.85)
CIE-LCHlch(43.73, 61.37, 294.49°)
OKLaboklab(52.47% 0.0083 -0.16)
OKLCHoklch(52.47% 0.16 273)
XYZxyz(17.2193, 13.6550, 54.5408)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EC5 #C5B54E
analogous
#4E9AC5 #4E5EC5 #7A4EC5
triadic
#4E5EC5 #C54E5E #5EC54E
tetradic
#4E5EC5 #C54E9A #C5B54E #4EC57A
square
#4E5EC5 #C54E9A #C5B54E #4EC57A
split-complementary
#4E5EC5 #C57A4E #9AC54E
monochromatic
#263073 #3543A1 #4E5EC5 #7C88D4 #AAB2E3

Accessibility & contrast

On white

5.63
#4E5EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4E5EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EC5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EC5#FFFFFF#000000##FFFFFF
##4E5EC51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216DC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5ec5;
/* rgb */ color: rgb(78, 94, 197);
/* oklch */ color: oklch(52.5% 0.160 273.0);
Tailwind
colors: {
  custom: {
    50: '#8a8bd7',
    500: '#4e5ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ec5;
$custom-light: #8a8bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ec5",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 231.933,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.16024,
    "h": 273
  },
  "luminance": 0.13656
}

Semantic roles & 50–950 ramp

primary
#4E5EC5
secondary
#D1CA9E
accent
#C74EDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E5EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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