#5457E4#5457E4

#5457E4 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.209 H 275.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5457E4
RGBrgb(84, 87, 228)
HSLhsl(239, 73%, 61%)
HSVhsv(239, 63%, 89%)
CMYKcmyk(63.2%, 61.8%, 0%, 10.6%)
CIE-LABlab(44.66, 41.10, -72.07)
CIE-LCHlch(44.66, 82.97, 299.70°)
OKLaboklab(53.97% 0.0215 -0.2076)
OKLCHoklch(53.97% 0.209 275.9)
XYZxyz(21.0634, 14.3009, 75.0341)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457E4 #E4E154
analogous
#549FE4 #5457E4 #9954E4
triadic
#5457E4 #E45457 #57E454
tetradic
#5457E4 #E4549F #E4E154 #54E499
square
#5457E4 #E4549F #E4E154 #54E499
split-complementary
#5457E4 #E49954 #9FE454
monochromatic
#1A1DA4 #2226D9 #5457E4 #898BEC #BEBFF5

Accessibility & contrast

On white

5.44
#5457E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5457E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457E4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457E4#FFFFFF#000000##FFFFFF
##5457E41.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5457e4;
/* rgb */ color: rgb(84, 87, 228);
/* oklch */ color: oklch(54.0% 0.209 275.9);
Tailwind
colors: {
  custom: {
    50: '#9386ee',
    500: '#5457e4',
    950: '#000000',
  },
}
SCSS
$custom: #5457e4;
$custom-light: #9386ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5457e4",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 238.75,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.20874,
    "h": 275.9
  },
  "luminance": 0.14303
}

Semantic roles & 50–950 ramp

primary
#5457E4
secondary
#E5E4AF
accent
#D111D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5457E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5457E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva