#5754BF#5754BF

#5754BF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.163 H 280.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5754BF
RGBrgb(87, 84, 191)
HSLhsl(242, 46%, 54%)
HSVhsv(242, 56%, 75%)
CMYKcmyk(54.5%, 56%, 0%, 25.1%)
CIE-LABlab(41.42, 31.44, -56.07)
CIE-LCHlch(41.42, 64.29, 299.28°)
OKLaboklab(50.77% 0.0287 -0.1605)
OKLCHoklch(50.77% 0.163 280.1)
XYZxyz(16.5018, 12.1274, 50.7514)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754BF #BCBF54
analogous
#5487BF #5754BF #8D54BF
triadic
#5754BF #BF5754 #54BF57
tetradic
#5754BF #BF5487 #BCBF54 #54BF8D
square
#5754BF #BF5487 #BCBF54 #54BF8D
split-complementary
#5754BF #BF8D54 #87BF54
monochromatic
#2C2A6F #3D3A9C #5754BF #8381D0 #AFADE0

Accessibility & contrast

On white

6.13
#5754BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5754BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754BF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754BF#FFFFFF#000000##FFFFFF
##5754BF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0466C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#266D81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5754bf;
/* rgb */ color: rgb(87, 84, 191);
/* oklch */ color: oklch(50.8% 0.163 280.1);
Tailwind
colors: {
  custom: {
    50: '#8f84d3',
    500: '#5754bf',
    950: '#000000',
  },
}
SCSS
$custom: #5754bf;
$custom-light: #8f84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5754bf",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 241.682,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50766,
    "c": 0.16309,
    "h": 280.1
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#5754BF
secondary
#CDCEA1
accent
#D553D2
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5754BF

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

Preview Lab → · Contrast checker → · Palette generator →

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