#5757B0#5757B0

#5757B0 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.138 H 280.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5757B0
RGBrgb(87, 87, 176)
HSLhsl(240, 36%, 52%)
HSVhsv(240, 51%, 69%)
CMYKcmyk(50.6%, 50.6%, 0%, 31%)
CIE-LABlab(41.18, 24.77, -47.67)
CIE-LCHlch(41.18, 53.72, 297.46°)
OKLaboklab(50.27% 0.0245 -0.1358)
OKLCHoklch(50.27% 0.138 280.2)
XYZxyz(15.1727, 11.9764, 42.5781)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757B0 #B0B057
analogous
#5784B0 #5757B0 #8457B0
triadic
#5757B0 #B05757 #57B057
tetradic
#5757B0 #B05784 #B0B057 #57B084
square
#5757B0 #B05784 #B0B057 #57B084
split-complementary
#5757B0 #B08457 #84B057
monochromatic
#2D2D60 #414189 #5757B0 #8181C4 #AAAAD7

Accessibility & contrast

On white

6.18
#5757B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5757B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757B0
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757B0#FFFFFF#000000##FFFFFF
##5757B01.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B3
Deuteranopia (green-blind)
#245EAE
Tritanopia (blue-blind)
#346A7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5757b0;
/* rgb */ color: rgb(87, 87, 176);
/* oklch */ color: oklch(50.3% 0.138 280.2);
Tailwind
colors: {
  custom: {
    50: '#8c86c8',
    500: '#5757b0',
    950: '#000000',
  },
}
SCSS
$custom: #5757b0;
$custom-light: #8c86c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5757b0",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 176
  },
  "hsl": {
    "h": 240,
    "s": 36.032,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.138,
    "h": 280.2
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#5757B0
secondary
#C5C59E
accent
#CC5CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5757B0

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

Preview Lab → · Contrast checker → · Palette generator →

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