#5758B5#5758B5

#5758B5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.144 H 279.5°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5758B5
RGBrgb(87, 88, 181)
HSLhsl(239, 39%, 53%)
HSVhsv(239, 52%, 71%)
CMYKcmyk(51.9%, 51.4%, 0%, 29%)
CIE-LABlab(41.75, 25.74, -49.69)
CIE-LCHlch(41.75, 55.96, 297.39°)
OKLaboklab(50.8% 0.0238 -0.1417)
OKLCHoklch(50.8% 0.144 279.5)
XYZxyz(15.7581, 12.3410, 45.2588)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758B5 #B5B457
analogous
#5787B5 #5758B5 #8557B5
triadic
#5758B5 #B55758 #58B557
tetradic
#5758B5 #B55787 #B5B457 #57B585
square
#5758B5 #B55787 #B5B457 #57B585
split-complementary
#5758B5 #B58557 #87B557
monochromatic
#2D2D65 #3F4090 #5758B5 #8182C8 #ACACDA

Accessibility & contrast

On white

6.05
#5758B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5758B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758B5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758B5#FFFFFF#000000##FFFFFF
##5758B51.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B8
Deuteranopia (green-blind)
#1F5FB3
Tritanopia (blue-blind)
#306D7E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5758b5;
/* rgb */ color: rgb(87, 88, 181);
/* oklch */ color: oklch(50.8% 0.144 279.5);
Tailwind
colors: {
  custom: {
    50: '#8d87cc',
    500: '#5758b5',
    950: '#000000',
  },
}
SCSS
$custom: #5758b5;
$custom-light: #8d87cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5758b5",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 181
  },
  "hsl": {
    "h": 239.362,
    "s": 38.843,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.14371,
    "h": 279.5
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#5758B5
secondary
#C8C89F
accent
#CE59CF
background
#F9F8FC
surface
#F1EFF9
border
#CBCAD2
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5758B5

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

Preview Lab → · Contrast checker → · Palette generator →

#5758B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva