#5756BF#5756BF

#5756BF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.160 H 279.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5756BF
RGBrgb(87, 86, 191)
HSLhsl(241, 45%, 54%)
HSVhsv(241, 55%, 75%)
CMYKcmyk(54.5%, 55%, 0%, 25.1%)
CIE-LABlab(41.91, 30.20, -55.28)
CIE-LCHlch(41.91, 62.99, 298.65°)
OKLaboklab(51.13% 0.0265 -0.1582)
OKLCHoklch(51.13% 0.16 279.5)
XYZxyz(16.6593, 12.4423, 50.8039)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756BF #BEBF56
analogous
#568ABF #5756BF #8B56BF
triadic
#5756BF #BF5756 #56BF57
tetradic
#5756BF #BF568A #BEBF56 #56BF8B
square
#5756BF #BF568A #BEBF56 #56BF8B
split-complementary
#5756BF #BF8B56 #8ABF56
monochromatic
#2B2A70 #3C3B9D #5756BF #8382D0 #AFAFE1

Accessibility & contrast

On white

6.02
#5756BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5756BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756BF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756BF#FFFFFF#000000##FFFFFF
##5756BF1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#266E82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5756bf;
/* rgb */ color: rgb(87, 86, 191);
/* oklch */ color: oklch(51.1% 0.160 279.5);
Tailwind
colors: {
  custom: {
    50: '#8f85d3',
    500: '#5756bf',
    950: '#000000',
  },
}
SCSS
$custom: #5756bf;
$custom-light: #8f85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5756bf",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 240.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51132,
    "c": 0.1604,
    "h": 279.5
  },
  "luminance": 0.12443
}

Semantic roles & 50–950 ramp

primary
#5756BF
secondary
#CECFA2
accent
#D553D4
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5756BF

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

Preview Lab → · Contrast checker → · Palette generator →

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