#5757BD#5757BD

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

Color values

HEX#5757BD
RGBrgb(87, 87, 189)
HSLhsl(240, 44%, 54%)
HSVhsv(240, 54%, 74%)
CMYKcmyk(54%, 54%, 0%, 25.9%)
CIE-LABlab(42.02, 28.94, -53.93)
CIE-LCHlch(42.02, 61.20, 298.22°)
OKLaboklab(51.17% 0.0254 -0.1542)
OKLCHoklch(51.17% 0.156 279.3)
XYZxyz(16.5211, 12.5157, 49.6795)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757BD #BDBD57
analogous
#578ABD #5757BD #8A57BD
triadic
#5757BD #BD5757 #57BD57
tetradic
#5757BD #BD578A #BDBD57 #57BD8A
square
#5757BD #BD578A #BDBD57 #57BD8A
split-complementary
#5757BD #BD8A57 #8ABD57
monochromatic
#2B2B6E #3D3D9A #5757BD #8383CE #AFAFE0

Accessibility & contrast

On white

5.99
#5757BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5757BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757BD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757BD#FFFFFF#000000##FFFFFF
##5757BD1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#035FBB
Tritanopia (blue-blind)
#286E81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5757bd;
/* rgb */ color: rgb(87, 87, 189);
/* oklch */ color: oklch(51.2% 0.156 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e86d1',
    500: '#5757bd',
    950: '#000000',
  },
}
SCSS
$custom: #5757bd;
$custom-light: #8e86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5757bd",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.15628,
    "h": 279.3
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#5757BD
secondary
#CECEA2
accent
#D354D3
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5757BD

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

Preview Lab → · Contrast checker → · Palette generator →

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