#5457DC#5457DC

#5457DC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.3% C 0.198 H 276.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5457DC
RGBrgb(84, 87, 220)
HSLhsl(239, 66%, 60%)
HSVhsv(239, 62%, 86%)
CMYKcmyk(61.8%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.04, 38.49, -68.53)
CIE-LCHlch(44.04, 78.60, 299.32°)
OKLaboklab(53.32% 0.0219 -0.1972)
OKLCHoklch(53.32% 0.198 276.3)
XYZxyz(19.9784, 13.8669, 69.3200)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457DC #DCD954
analogous
#549BDC #5457DC #9554DC
triadic
#5457DC #DC5457 #57DC54
tetradic
#5457DC #DC549B #DCD954 #54DC95
square
#5457DC #DC549B #DCD954 #54DC95
split-complementary
#5457DC #DC9554 #9BDC54
monochromatic
#1F2297 #292DCA #5457DC #8789E6 #BABBF1

Accessibility & contrast

On white

5.56
#5457DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5457DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457DC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457DC#FFFFFF#000000##FFFFFF
##5457DC1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5457dc;
/* rgb */ color: rgb(84, 87, 220);
/* oklch */ color: oklch(53.3% 0.198 276.3);
Tailwind
colors: {
  custom: {
    50: '#9286e8',
    500: '#5457dc',
    950: '#000000',
  },
}
SCSS
$custom: #5457dc;
$custom-light: #9286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5457dc",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 238.676,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.19846,
    "h": 276.3
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#5457DC
secondary
#E0DFAC
accent
#E53FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5457DC

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

Preview Lab → · Contrast checker → · Palette generator →

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