#5457CA#5457CA

#5457CA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.175 H 277.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5457CA
RGBrgb(84, 87, 202)
HSLhsl(238, 53%, 56%)
HSVhsv(238, 58%, 79%)
CMYKcmyk(58.4%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.71, 32.59, -60.37)
CIE-LCHlch(42.71, 68.61, 298.36°)
OKLaboklab(51.92% 0.0222 -0.1733)
OKLCHoklch(51.92% 0.175 277.3)
XYZxyz(17.7216, 12.9642, 57.4341)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457CA #CAC754
analogous
#5492CA #5457CA #8C54CA
triadic
#5457CA #CA5457 #57CA54
tetradic
#5457CA #CA5492 #CAC754 #54CA8C
square
#5457CA #CA5492 #CAC754 #54CA8C
split-complementary
#5457CA #CA8C54 #92CA54
monochromatic
#27297D #3538AC #5457CA #8385D8 #B1B3E7

Accessibility & contrast

On white

5.84
#5457CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5457CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457CA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457CA#FFFFFF#000000##FFFFFF
##5457CA1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5457ca;
/* rgb */ color: rgb(84, 87, 202);
/* oklch */ color: oklch(51.9% 0.175 277.3);
Tailwind
colors: {
  custom: {
    50: '#8f86db',
    500: '#5457ca',
    950: '#000000',
  },
}
SCSS
$custom: #5457ca;
$custom-light: #8f86db;
$custom-dark: #000000;
JSON
{
  "hex": "#5457ca",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 238.475,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51915,
    "c": 0.17467,
    "h": 277.3
  },
  "luminance": 0.12965
}

Semantic roles & 50–950 ramp

primary
#5457CA
secondary
#D5D4A5
accent
#D84CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5457CA

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

Preview Lab → · Contrast checker → · Palette generator →

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