#5757B8#5757B8

#5757B8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.149 H 279.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5757B8
RGBrgb(87, 87, 184)
HSLhsl(240, 41%, 53%)
HSVhsv(240, 53%, 72%)
CMYKcmyk(52.7%, 52.7%, 0%, 27.8%)
CIE-LABlab(41.69, 27.33, -51.54)
CIE-LCHlch(41.69, 58.34, 297.94°)
OKLaboklab(50.82% 0.0251 -0.1472)
OKLCHoklch(50.82% 0.149 279.7)
XYZxyz(15.9877, 12.3024, 46.8702)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757B8 #B8B857
analogous
#5787B8 #5757B8 #8757B8
triadic
#5757B8 #B85757 #57B857
tetradic
#5757B8 #B85787 #B8B857 #57B887
square
#5757B8 #B85787 #B8B857 #57B887
split-complementary
#5757B8 #B88757 #87B857
monochromatic
#2C2C68 #3E3E93 #5757B8 #8282CA #ADADDC

Accessibility & contrast

On white

6.07
#5757B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5757B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757B8
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757B8#FFFFFF#000000##FFFFFF
##5757B81.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BB
Deuteranopia (green-blind)
#165FB6
Tritanopia (blue-blind)
#2D6D7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5757b8;
/* rgb */ color: rgb(87, 87, 184);
/* oklch */ color: oklch(50.8% 0.149 279.7);
Tailwind
colors: {
  custom: {
    50: '#8e86ce',
    500: '#5757b8',
    950: '#000000',
  },
}
SCSS
$custom: #5757b8;
$custom-light: #8e86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5757b8",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 40.586,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5082,
    "c": 0.14931,
    "h": 279.7
  },
  "luminance": 0.12303
}

Semantic roles & 50–950 ramp

primary
#5757B8
secondary
#CACAA0
accent
#D057D0
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5757B8

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

Preview Lab → · Contrast checker → · Palette generator →

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