#5457CD#5457CD

#5457CD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.179 H 277.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5457CD
RGBrgb(84, 87, 205)
HSLhsl(239, 55%, 57%)
HSVhsv(239, 59%, 80%)
CMYKcmyk(59%, 57.6%, 0%, 19.6%)
CIE-LABlab(42.93, 33.57, -61.75)
CIE-LCHlch(42.93, 70.29, 298.53°)
OKLaboklab(52.14% 0.0222 -0.1773)
OKLCHoklch(52.14% 0.179 277.1)
XYZxyz(18.0803, 13.1077, 59.3230)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5457CD #CDCA54
analogous
#5494CD #5457CD #8E54CD
triadic
#5457CD #CD5457 #57CD54
tetradic
#5457CD #CD5494 #CDCA54 #54CD8E
square
#5457CD #CD5494 #CDCA54 #54CD8E
split-complementary
#5457CD #CD8E54 #94CD54
monochromatic
#262881 #3437B0 #5457CD #8386DB #B3B4E9

Accessibility & contrast

On white

5.80
#5457CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5457CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5457CD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5457CD#FFFFFF#000000##FFFFFF
##5457CD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5457cd;
/* rgb */ color: rgb(84, 87, 205);
/* oklch */ color: oklch(52.1% 0.179 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f86dd',
    500: '#5457cd',
    950: '#000000',
  },
}
SCSS
$custom: #5457cd;
$custom-light: #8f86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5457cd",
  "rgb": {
    "r": 84,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 238.512,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.1787,
    "h": 277.1
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#5457CD
secondary
#D7D6A6
accent
#DA4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5457CD

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

Preview Lab → · Contrast checker → · Palette generator →

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