#5757BB#5757BB

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

Color values

HEX#5757BB
RGBrgb(87, 87, 187)
HSLhsl(240, 42%, 54%)
HSVhsv(240, 53%, 73%)
CMYKcmyk(53.5%, 53.5%, 0%, 26.7%)
CIE-LABlab(41.89, 28.29, -52.98)
CIE-LCHlch(41.89, 60.06, 298.11°)
OKLaboklab(51.03% 0.0253 -0.1514)
OKLCHoklch(51.03% 0.154 279.5)
XYZxyz(16.3055, 12.4295, 48.5440)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757BB #BBBB57
analogous
#5789BB #5757BB #8957BB
triadic
#5757BB #BB5757 #57BB57
tetradic
#5757BB #BB5789 #BBBB57 #57BB89
square
#5757BB #BB5789 #BBBB57 #57BB89
split-complementary
#5757BB #BB8957 #89BB57
monochromatic
#2C2C6C #3D3D97 #5757BB #8383CD #AEAEDE

Accessibility & contrast

On white

6.02
#5757BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5757BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757BB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757BB#FFFFFF#000000##FFFFFF
##5757BB1.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)
#1E67BE
Deuteranopia (green-blind)
#0C5FB9
Tritanopia (blue-blind)
#2A6E80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5757bb;
/* rgb */ color: rgb(87, 87, 187);
/* oklch */ color: oklch(51.0% 0.154 279.5);
Tailwind
colors: {
  custom: {
    50: '#8e86d0',
    500: '#5757bb',
    950: '#000000',
  },
}
SCSS
$custom: #5757bb;
$custom-light: #8e86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5757bb",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.15351,
    "h": 279.5
  },
  "luminance": 0.1243
}

Semantic roles & 50–950 ramp

primary
#5757BB
secondary
#CCCCA2
accent
#D256D2
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5757BB

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

Preview Lab → · Contrast checker → · Palette generator →

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