#4E5ACE#4E5ACE

#4E5ACE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.4% C 0.178 H 274.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4E5ACE
RGBrgb(78, 90, 206)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 62%, 81%)
CMYKcmyk(62.1%, 56.3%, 0%, 19.2%)
CIE-LABlab(43.34, 31.01, -61.68)
CIE-LCHlch(43.34, 69.03, 296.69°)
OKLaboklab(52.37% 0.0126 -0.1772)
OKLCHoklch(52.37% 0.178 274.1)
XYZxyz(17.9350, 13.3868, 60.0193)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ACE #CEC24E
analogous
#4E9ACE #4E5ACE #824ECE
triadic
#4E5ACE #CE4E5A #5ACE4E
tetradic
#4E5ACE #CE4E9A #CEC24E #4ECE82
square
#4E5ACE #CE4E9A #CEC24E #4ECE82
split-complementary
#4E5ACE #CE824E #9ACE4E
monochromatic
#232C7F #303CAE #4E5ACE #7E87DB #AEB3E9

Accessibility & contrast

On white

5.71
#4E5ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E5ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ACE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ACE#FFFFFF#000000##FFFFFF
##4E5ACE1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5ace;
/* rgb */ color: rgb(78, 90, 206);
/* oklch */ color: oklch(52.4% 0.178 274.1);
Tailwind
colors: {
  custom: {
    50: '#8c88de',
    500: '#4e5ace',
    950: '#000000',
  },
}
SCSS
$custom: #4e5ace;
$custom-light: #8c88de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5ace",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 234.375,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.17767,
    "h": 274.1
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#4E5ACE
secondary
#D7D2A1
accent
#D248E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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