#5754A2#5754A2

#5754A2 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.122 H 282.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5754A2
RGBrgb(87, 84, 162)
HSLhsl(242, 32%, 48%)
HSVhsv(242, 48%, 64%)
CMYKcmyk(46.3%, 48.1%, 0%, 36.5%)
CIE-LABlab(39.54, 22.26, -42.00)
CIE-LCHlch(39.54, 47.53, 297.93°)
OKLaboklab(48.76% 0.0267 -0.1192)
OKLCHoklch(48.76% 0.122 282.6)
XYZxyz(13.6205, 10.9749, 35.5761)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754A2 #9FA254
analogous
#5478A2 #5754A2 #7E54A2
triadic
#5754A2 #A25754 #54A257
tetradic
#5754A2 #A25478 #9FA254 #54A27E
square
#5754A2 #A25478 #9FA254 #54A27E
split-complementary
#5754A2 #A27E54 #78A254
monochromatic
#2C2A51 #413F7A #5754A2 #7C79BA #A3A2CF

Accessibility & contrast

On white

6.57
#5754A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5754A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754A2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754A2#FFFFFF#000000##FFFFFF
##5754A21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#2F5BA0
Tritanopia (blue-blind)
#3E6473
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5754a2;
/* rgb */ color: rgb(87, 84, 162);
/* oklch */ color: oklch(48.8% 0.122 282.6);
Tailwind
colors: {
  custom: {
    50: '#8b84be',
    500: '#5754a2',
    950: '#000000',
  },
}
SCSS
$custom: #5754a2;
$custom-light: #8b84be;
$custom-dark: #000000;
JSON
{
  "hex": "#5754a2",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 242.308,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48755,
    "c": 0.12212,
    "h": 282.6
  },
  "luminance": 0.10976
}

Semantic roles & 50–950 ramp

primary
#5754A2
secondary
#BBBC96
accent
#C860C4
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #5754A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5754A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva