#5758A5#5758A5

#5758A5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.121 H 280.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5758A5
RGBrgb(87, 88, 165)
HSLhsl(239, 31%, 49%)
HSVhsv(239, 47%, 65%)
CMYKcmyk(47.3%, 46.7%, 0%, 35.3%)
CIE-LABlab(40.77, 20.67, -41.82)
CIE-LCHlch(40.77, 46.65, 296.30°)
OKLaboklab(49.74% 0.022 -0.1186)
OKLCHoklch(49.74% 0.121 280.5)
XYZxyz(14.2097, 11.7216, 37.1038)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758A5 #A5A457
analogous
#577FA5 #5758A5 #7D57A5
triadic
#5758A5 #A55758 #58A557
tetradic
#5758A5 #A5577F #A5A457 #57A57D
square
#5758A5 #A5577F #A5A457 #57A57D
split-complementary
#5758A5 #A57D57 #7FA557
monochromatic
#2D2D55 #42437D #5758A5 #7E7FBB #A6A7D0

Accessibility & contrast

On white

6.28
#5758A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5758A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758A5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758A5#FFFFFF#000000##FFFFFF
##5758A51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#335DA3
Tritanopia (blue-blind)
#3C6876
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5758a5;
/* rgb */ color: rgb(87, 88, 165);
/* oklch */ color: oklch(49.7% 0.121 280.5);
Tailwind
colors: {
  custom: {
    50: '#8b87c0',
    500: '#5758a5',
    950: '#000000',
  },
}
SCSS
$custom: #5758a5;
$custom-light: #8b87c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5758a5",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 165
  },
  "hsl": {
    "h": 239.231,
    "s": 30.952,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.12064,
    "h": 280.5
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#5758A5
secondary
#BEBD9A
accent
#C661C7
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5758A5

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

Preview Lab → · Contrast checker → · Palette generator →

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