#5758A7#5758A7

#5758A7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.9% C 0.124 H 280.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5758A7
RGBrgb(87, 88, 167)
HSLhsl(239, 31%, 50%)
HSVhsv(239, 48%, 65%)
CMYKcmyk(47.9%, 47.3%, 0%, 34.5%)
CIE-LABlab(40.89, 21.30, -42.81)
CIE-LCHlch(40.89, 47.82, 296.45°)
OKLaboklab(49.87% 0.0223 -0.1215)
OKLCHoklch(49.87% 0.124 280.4)
XYZxyz(14.3931, 11.7950, 38.0700)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758A7 #A7A657
analogous
#5780A7 #5758A7 #7E57A7
triadic
#5758A7 #A75758 #58A757
tetradic
#5758A7 #A75780 #A7A657 #57A77E
square
#5758A7 #A75780 #A7A657 #57A77E
split-complementary
#5758A7 #A77E57 #80A757
monochromatic
#2D2E57 #42437F #5758A7 #7F80BC #A7A8D1

Accessibility & contrast

On white

6.25
#5758A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5758A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758A7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758A7#FFFFFF#000000##FFFFFF
##5758A71.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763AA
Deuteranopia (green-blind)
#315DA5
Tritanopia (blue-blind)
#3B6977
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5758a7;
/* rgb */ color: rgb(87, 88, 167);
/* oklch */ color: oklch(49.9% 0.124 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b87c1',
    500: '#5758a7',
    950: '#000000',
  },
}
SCSS
$custom: #5758a7;
$custom-light: #8b87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5758a7",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 239.25,
    "s": 31.496,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.12358,
    "h": 280.4
  },
  "luminance": 0.11796
}

Semantic roles & 50–950 ramp

primary
#5758A7
secondary
#BFBF9B
accent
#C660C8
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0C0B12
muted
#7D7C81

Preview Lab

Preview with #5758A7

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

Preview Lab → · Contrast checker → · Palette generator →

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