#4E5EC9#4E5EC9

#4E5EC9 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.166 H 273.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4E5EC9
RGBrgb(78, 94, 201)
HSLhsl(232, 53%, 55%)
HSVhsv(232, 61%, 79%)
CMYKcmyk(61.2%, 53.2%, 0%, 21.2%)
CIE-LABlab(44.00, 26.80, -57.72)
CIE-LCHlch(44.00, 63.64, 294.91°)
OKLaboklab(52.76% 0.0086 -0.1655)
OKLCHoklch(52.76% 0.166 273)
XYZxyz(17.6837, 13.8407, 56.9867)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EC9 #C9B94E
analogous
#4E9CC9 #4E5EC9 #7C4EC9
triadic
#4E5EC9 #C94E5E #5EC94E
tetradic
#4E5EC9 #C94E9C #C9B94E #4EC97C
square
#4E5EC9 #C94E9C #C9B94E #4EC97C
split-complementary
#4E5EC9 #C97C4E #9CC94E
monochromatic
#252F78 #3342A7 #4E5EC9 #7D89D7 #ACB3E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E5EC9#FFFFFF#000000##FFFFFF
##4E5EC91.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)
#196ECD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e5ec9;
/* rgb */ color: rgb(78, 94, 201);
/* oklch */ color: oklch(52.8% 0.166 273.0);
Tailwind
colors: {
  custom: {
    50: '#8b8bda',
    500: '#4e5ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ec9;
$custom-light: #8b8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ec9",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 232.195,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.16576,
    "h": 273
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#4E5EC9
secondary
#D3CD9F
accent
#CA4BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E5EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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