#5754A4#5754A4

#5754A4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.125 H 282.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5754A4
RGBrgb(87, 84, 164)
HSLhsl(242, 32%, 49%)
HSVhsv(242, 49%, 64%)
CMYKcmyk(47%, 48.8%, 0%, 35.7%)
CIE-LABlab(39.66, 22.88, -43.00)
CIE-LCHlch(39.66, 48.71, 298.02°)
OKLaboklab(48.89% 0.0269 -0.1221)
OKLCHoklch(48.89% 0.125 282.4)
XYZxyz(13.7996, 11.0466, 36.5198)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754A4 #A1A454
analogous
#5479A4 #5754A4 #7F54A4
triadic
#5754A4 #A45754 #54A457
tetradic
#5754A4 #A45479 #A1A454 #54A47F
square
#5754A4 #A45479 #A1A454 #54A47F
split-complementary
#5754A4 #A47F54 #79A454
monochromatic
#2C2B53 #423F7C #5754A4 #7D7ABB #A4A3D0

Accessibility & contrast

On white

6.54
#5754A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5754A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754A4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754A4#FFFFFF#000000##FFFFFF
##5754A41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#2D5BA2
Tritanopia (blue-blind)
#3D6574
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5754a4;
/* rgb */ color: rgb(87, 84, 164);
/* oklch */ color: oklch(48.9% 0.125 282.4);
Tailwind
colors: {
  custom: {
    50: '#8b84bf',
    500: '#5754a4',
    950: '#000000',
  },
}
SCSS
$custom: #5754a4;
$custom-light: #8b84bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5754a4",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 164
  },
  "hsl": {
    "h": 242.25,
    "s": 32.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48885,
    "c": 0.12503,
    "h": 282.4
  },
  "luminance": 0.11047
}

Semantic roles & 50–950 ramp

primary
#5754A4
secondary
#BCBD97
accent
#C85FC4
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #5754A4

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

Preview Lab → · Contrast checker → · Palette generator →

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