#5756BB#5756BB

#5756BB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.155 H 279.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5756BB
RGBrgb(87, 86, 187)
HSLhsl(241, 43%, 54%)
HSVhsv(241, 54%, 73%)
CMYKcmyk(53.5%, 54%, 0%, 26.7%)
CIE-LABlab(41.64, 28.92, -53.38)
CIE-LCHlch(41.64, 60.71, 298.45°)
OKLaboklab(50.84% 0.0264 -0.1526)
OKLCHoklch(50.84% 0.155 279.8)
XYZxyz(16.2251, 12.2687, 48.5172)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756BB #BABB56
analogous
#5687BB #5756BB #8956BB
triadic
#5756BB #BB5756 #56BB57
tetradic
#5756BB #BB5687 #BABB56 #56BB89
square
#5756BB #BB5687 #BABB56 #56BB89
split-complementary
#5756BB #BB8956 #87BB56
monochromatic
#2C2B6B #3E3D97 #5756BB #8282CD #AEADDE

Accessibility & contrast

On white

6.08
#5756BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5756BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756BB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756BB#FFFFFF#000000##FFFFFF
##5756BB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#065EB9
Tritanopia (blue-blind)
#2B6D80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5756bb;
/* rgb */ color: rgb(87, 86, 187);
/* oklch */ color: oklch(50.8% 0.155 279.8);
Tailwind
colors: {
  custom: {
    50: '#8e85d0',
    500: '#5756bb',
    950: '#000000',
  },
}
SCSS
$custom: #5756bb;
$custom-light: #8e85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5756bb",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 240.594,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.15487,
    "h": 279.8
  },
  "luminance": 0.1227
}

Semantic roles & 50–950 ramp

primary
#5756BB
secondary
#CCCCA1
accent
#D255D1
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5756BB

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

Preview Lab → · Contrast checker → · Palette generator →

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