#5756B2#5756B2

#5756B2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.142 H 280.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5756B2
RGBrgb(87, 86, 178)
HSLhsl(241, 37%, 52%)
HSVhsv(241, 52%, 70%)
CMYKcmyk(51.1%, 51.7%, 0%, 30.2%)
CIE-LABlab(41.05, 26.04, -49.05)
CIE-LCHlch(41.05, 55.54, 297.96°)
OKLaboklab(50.21% 0.0258 -0.1399)
OKLCHoklch(50.21% 0.142 280.5)
XYZxyz(15.2917, 11.8953, 43.6011)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756B2 #B1B256
analogous
#5683B2 #5756B2 #8556B2
triadic
#5756B2 #B25756 #56B257
tetradic
#5756B2 #B25683 #B1B256 #56B285
square
#5756B2 #B25683 #B1B256 #56B285
split-complementary
#5756B2 #B28556 #83B256
monochromatic
#2D2C61 #403F8B #5756B2 #8180C5 #ABAAD8

Accessibility & contrast

On white

6.21
#5756B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5756B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756B2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756B2#FFFFFF#000000##FFFFFF
##5756B21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#1F5DB0
Tritanopia (blue-blind)
#336A7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5756b2;
/* rgb */ color: rgb(87, 86, 178);
/* oklch */ color: oklch(50.2% 0.142 280.5);
Tailwind
colors: {
  custom: {
    50: '#8d85ca',
    500: '#5756b2',
    950: '#000000',
  },
}
SCSS
$custom: #5756b2;
$custom-light: #8d85ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5756b2",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 240.652,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.14225,
    "h": 280.5
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#5756B2
secondary
#C6C69E
accent
#CD5ACC
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5756B2

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

Preview Lab → · Contrast checker → · Palette generator →

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