#5754AC#5754AC

#5754AC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.137 H 281.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5754AC
RGBrgb(87, 84, 172)
HSLhsl(242, 35%, 50%)
HSVhsv(242, 51%, 67%)
CMYKcmyk(49.4%, 51.2%, 0%, 32.5%)
CIE-LABlab(40.16, 25.39, -46.95)
CIE-LCHlch(40.16, 53.38, 298.41°)
OKLaboklab(49.42% 0.0277 -0.1337)
OKLCHoklch(49.42% 0.137 281.7)
XYZxyz(14.5449, 11.3447, 40.4451)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754AC #A9AC54
analogous
#547DAC #5754AC #8354AC
triadic
#5754AC #AC5754 #54AC57
tetradic
#5754AC #AC547D #A9AC54 #54AC83
square
#5754AC #AC547D #A9AC54 #54AC83
split-complementary
#5754AC #AC8354 #7DAC54
monochromatic
#2D2C5A #424083 #5754AC #7F7DC0 #A8A6D4

Accessibility & contrast

On white

6.42
#5754AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5754AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754AC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754AC#FFFFFF#000000##FFFFFF
##5754AC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62AF
Deuteranopia (green-blind)
#245CAA
Tritanopia (blue-blind)
#386778
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5754ac;
/* rgb */ color: rgb(87, 84, 172);
/* oklch */ color: oklch(49.4% 0.137 281.7);
Tailwind
colors: {
  custom: {
    50: '#8c84c5',
    500: '#5754ac',
    950: '#000000',
  },
}
SCSS
$custom: #5754ac;
$custom-light: #8c84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5754ac",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 242.045,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.13656,
    "h": 281.7
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#5754AC
secondary
#C0C29A
accent
#CB5DC7
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5754AC

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

Preview Lab → · Contrast checker → · Palette generator →

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