#5758AE#5758AE

#5758AE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.134 H 280.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5758AE
RGBrgb(87, 88, 174)
HSLhsl(239, 35%, 51%)
HSVhsv(239, 50%, 68%)
CMYKcmyk(50%, 49.4%, 0%, 31.8%)
CIE-LABlab(41.31, 23.51, -46.28)
CIE-LCHlch(41.31, 51.91, 296.93°)
OKLaboklab(50.33% 0.0231 -0.1317)
OKLCHoklch(50.33% 0.134 280)
XYZxyz(15.0578, 12.0608, 41.5707)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758AE #AEAD57
analogous
#5783AE #5758AE #8157AE
triadic
#5758AE #AE5758 #58AE57
tetradic
#5758AE #AE5783 #AEAD57 #57AE81
square
#5758AE #AE5783 #AEAD57 #57AE81
split-complementary
#5758AE #AE8157 #83AE57
monochromatic
#2D2E5E #414287 #5758AE #8081C2 #AAAAD6

Accessibility & contrast

On white

6.15
#5758AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5758AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758AE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758AE#FFFFFF#000000##FFFFFF
##5758AE1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#366B7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5758ae;
/* rgb */ color: rgb(87, 88, 174);
/* oklch */ color: oklch(50.3% 0.134 280.0);
Tailwind
colors: {
  custom: {
    50: '#8c87c7',
    500: '#5758ae',
    950: '#000000',
  },
}
SCSS
$custom: #5758ae;
$custom-light: #8c87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5758ae",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 239.31,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.13372,
    "h": 280
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#5758AE
secondary
#C4C39D
accent
#CA5DCB
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5758AE

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

Preview Lab → · Contrast checker → · Palette generator →

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