#5754AE#5754AE

#5754AE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.139 H 281.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5754AE
RGBrgb(87, 84, 174)
HSLhsl(242, 36%, 51%)
HSVhsv(242, 52%, 68%)
CMYKcmyk(50%, 51.7%, 0%, 31.8%)
CIE-LABlab(40.28, 26.03, -47.93)
CIE-LCHlch(40.28, 54.54, 298.50°)
OKLaboklab(49.56% 0.0279 -0.1366)
OKLCHoklch(49.56% 0.139 281.5)
XYZxyz(14.7385, 11.4221, 41.4643)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754AE #ABAE54
analogous
#547EAE #5754AE #8454AE
triadic
#5754AE #AE5754 #54AE57
tetradic
#5754AE #AE547E #ABAE54 #54AE84
square
#5754AE #AE547E #ABAE54 #54AE84
split-complementary
#5754AE #AE8454 #7EAE54
monochromatic
#2D2C5C #423F86 #5754AE #807EC2 #A9A7D5

Accessibility & contrast

On white

6.39
#5754AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5754AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754AE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754AE#FFFFFF#000000##FFFFFF
##5754AE1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#366879
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5754ae;
/* rgb */ color: rgb(87, 84, 174);
/* oklch */ color: oklch(49.6% 0.139 281.5);
Tailwind
colors: {
  custom: {
    50: '#8c84c7',
    500: '#5754ae',
    950: '#000000',
  },
}
SCSS
$custom: #5754ae;
$custom-light: #8c84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5754ae",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 242,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49555,
    "c": 0.1394,
    "h": 281.5
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#5754AE
secondary
#C2C39B
accent
#CC5CC8
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0A13
muted
#7D7C82

Preview Lab

Preview with #5754AE

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

Preview Lab → · Contrast checker → · Palette generator →

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