#5754BD#5754BD

#5754BD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.160 H 280.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5754BD
RGBrgb(87, 84, 189)
HSLhsl(242, 44%, 54%)
HSVhsv(242, 56%, 74%)
CMYKcmyk(54%, 55.6%, 0%, 25.9%)
CIE-LABlab(41.28, 30.80, -55.13)
CIE-LCHlch(41.28, 63.15, 299.19°)
OKLaboklab(50.62% 0.0286 -0.1578)
OKLCHoklch(50.62% 0.16 280.3)
XYZxyz(16.2833, 12.0400, 49.6002)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754BD #BABD54
analogous
#5485BD #5754BD #8B54BD
triadic
#5754BD #BD5754 #54BD57
tetradic
#5754BD #BD5485 #BABD54 #54BD8B
square
#5754BD #BD5485 #BABD54 #54BD8B
split-complementary
#5754BD #BD8B54 #85BD54
monochromatic
#2C2A6D #3E3B99 #5754BD #8280CE #AEACDF

Accessibility & contrast

On white

6.16
#5754BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5754BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754BD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754BD#FFFFFF#000000##FFFFFF
##5754BD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C65C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#296C80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5754bd;
/* rgb */ color: rgb(87, 84, 189);
/* oklch */ color: oklch(50.6% 0.160 280.3);
Tailwind
colors: {
  custom: {
    50: '#8e84d2',
    500: '#5754bd',
    950: '#000000',
  },
}
SCSS
$custom: #5754bd;
$custom-light: #8e84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5754bd",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 241.714,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50619,
    "c": 0.16034,
    "h": 280.3
  },
  "luminance": 0.12041
}

Semantic roles & 50–950 ramp

primary
#5754BD
secondary
#CCCDA0
accent
#D454D0
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5754BD

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

Preview Lab → · Contrast checker → · Palette generator →

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