#5457DA#5457DA

#5457DA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.196 H 276.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5457DA
RGBrgb(84, 87, 218)
HSLhsl(239, 64%, 59%)
HSVhsv(239, 61%, 85%)
CMYKcmyk(61.5%, 60.1%, 0%, 14.5%)
CIE-LABlab(43.89, 37.83, -67.64)
CIE-LCHlch(43.89, 77.50, 299.22°)
OKLaboklab(53.16% 0.022 -0.1946)
OKLCHoklch(53.16% 0.196 276.4)
XYZxyz(19.7151, 13.7616, 67.9334)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457DA #DAD754
analogous
#549ADA #5457DA #9454DA
triadic
#5457DA #DA5457 #57DA54
tetradic
#5457DA #DA549A #DAD754 #54DA94
square
#5457DA #DA549A #DAD754 #54DA94
split-complementary
#5457DA #DA9454 #9ADA54
monochromatic
#202394 #2B2EC6 #5457DA #8688E5 #B9BAF0

Accessibility & contrast

On white

5.60
#5457DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5457DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457DA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457DA#FFFFFF#000000##FFFFFF
##5457DA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5457da;
/* rgb */ color: rgb(84, 87, 218);
/* oklch */ color: oklch(53.2% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#9186e6',
    500: '#5457da',
    950: '#000000',
  },
}
SCSS
$custom: #5457da;
$custom-light: #9186e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5457da",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 238.657,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53159,
    "c": 0.19587,
    "h": 276.4
  },
  "luminance": 0.13763
}

Semantic roles & 50–950 ramp

primary
#5457DA
secondary
#DFDEAB
accent
#E440E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5457DA

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

Preview Lab → · Contrast checker → · Palette generator →

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