#5754BB#5754BB

#5754BB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.158 H 280.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5754BB
RGBrgb(87, 84, 187)
HSLhsl(242, 43%, 53%)
HSVhsv(242, 55%, 73%)
CMYKcmyk(53.5%, 55.1%, 0%, 26.7%)
CIE-LABlab(41.14, 30.16, -54.18)
CIE-LCHlch(41.14, 62.01, 299.10°)
OKLaboklab(50.47% 0.0286 -0.155)
OKLCHoklch(50.47% 0.158 280.4)
XYZxyz(16.0677, 11.9538, 48.4647)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754BB #B8BB54
analogous
#5484BB #5754BB #8B54BB
triadic
#5754BB #BB5754 #54BB57
tetradic
#5754BB #BB5484 #B8BB54 #54BB8B
square
#5754BB #BB5484 #B8BB54 #54BB8B
split-complementary
#5754BB #BB8B54 #84BB54
monochromatic
#2C2A6A #3E3C96 #5754BB #8280CC #ADACDE

Accessibility & contrast

On white

6.19
#5754BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5754BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754BB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754BB#FFFFFF#000000##FFFFFF
##5754BB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1265BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#2B6B7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5754bb;
/* rgb */ color: rgb(87, 84, 187);
/* oklch */ color: oklch(50.5% 0.158 280.4);
Tailwind
colors: {
  custom: {
    50: '#8e84d0',
    500: '#5754bb',
    950: '#000000',
  },
}
SCSS
$custom: #5754bb;
$custom-light: #8e84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5754bb",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 241.748,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.1576,
    "h": 280.4
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

primary
#5754BB
secondary
#CACC9F
accent
#D355CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5754BB

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

Preview Lab → · Contrast checker → · Palette generator →

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