#5457E5#5457E5

#5457E5 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.210 H 275.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5457E5
RGBrgb(84, 87, 229)
HSLhsl(239, 74%, 61%)
HSVhsv(239, 63%, 90%)
CMYKcmyk(63.3%, 62%, 0%, 10.2%)
CIE-LABlab(44.74, 41.43, -72.51)
CIE-LCHlch(44.74, 83.51, 299.74°)
OKLaboklab(54.05% 0.0215 -0.2089)
OKLCHoklch(54.05% 0.21 275.9)
XYZxyz(21.2026, 14.3566, 75.7673)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457E5 #E5E254
analogous
#54A0E5 #5457E5 #9A54E5
triadic
#5457E5 #E55457 #57E554
tetradic
#5457E5 #E554A0 #E5E254 #54E59A
square
#5457E5 #E554A0 #E5E254 #54E59A
split-complementary
#5457E5 #E59A54 #A0E554
monochromatic
#191CA5 #2125DB #5457E5 #898BED #BEBFF5

Accessibility & contrast

On white

5.42
#5457E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5457E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457E5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457E5#FFFFFF#000000##FFFFFF
##5457E51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5457e5;
/* rgb */ color: rgb(84, 87, 229);
/* oklch */ color: oklch(54.1% 0.210 275.9);
Tailwind
colors: {
  custom: {
    50: '#9387ee',
    500: '#5457e5',
    950: '#000000',
  },
}
SCSS
$custom: #5457e5;
$custom-light: #9387ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5457e5",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 238.759,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.21002,
    "h": 275.9
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#5457E5
secondary
#E6E4AF
accent
#D210D6
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #5457E5

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

Preview Lab → · Contrast checker → · Palette generator →

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