#5757BE#5757BE

#5757BE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.158 H 279.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5757BE
RGBrgb(87, 87, 190)
HSLhsl(240, 44%, 54%)
HSVhsv(240, 54%, 75%)
CMYKcmyk(54.2%, 54.2%, 0%, 25.5%)
CIE-LABlab(42.09, 29.26, -54.40)
CIE-LCHlch(42.09, 61.77, 298.27°)
OKLaboklab(51.25% 0.0254 -0.1556)
OKLCHoklch(51.25% 0.158 279.3)
XYZxyz(16.6300, 12.5593, 50.2531)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757BE #BEBE57
analogous
#578BBE #5757BE #8B57BE
triadic
#5757BE #BE5757 #57BE57
tetradic
#5757BE #BE578B #BEBE57 #57BE8B
square
#5757BE #BE578B #BEBE57 #57BE8B
split-complementary
#5757BE #BE8B57 #8BBE57
monochromatic
#2B2B6F #3C3C9C #5757BE #8383CF #AFAFE0

Accessibility & contrast

On white

5.98
#5757BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5757BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757BE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757BE#FFFFFF#000000##FFFFFF
##5757BE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#276E82
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5757be;
/* rgb */ color: rgb(87, 87, 190);
/* oklch */ color: oklch(51.2% 0.158 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e86d2',
    500: '#5757be',
    950: '#000000',
  },
}
SCSS
$custom: #5757be;
$custom-light: #8e86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5757be",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 240,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.15767,
    "h": 279.3
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#5757BE
secondary
#CECEA3
accent
#D454D4
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5757BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5757BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva