#5758C8#5758C8

#5758C8 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.170 H 278.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5758C8
RGBrgb(87, 88, 200)
HSLhsl(239, 51%, 56%)
HSVhsv(239, 57%, 78%)
CMYKcmyk(56.5%, 56%, 0%, 21.6%)
CIE-LABlab(43.03, 31.87, -58.70)
CIE-LCHlch(43.03, 66.79, 298.50°)
OKLaboklab(52.16% 0.0247 -0.1682)
OKLCHoklch(52.16% 0.17 278.3)
XYZxyz(17.8422, 13.1746, 56.2351)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758C8 #C8C757
analogous
#5791C8 #5758C8 #8F57C8
triadic
#5758C8 #C85758 #58C857
tetradic
#5758C8 #C85791 #C8C757 #57C88F
square
#5758C8 #C85791 #C8C757 #57C88F
split-complementary
#5758C8 #C88F57 #91C857
monochromatic
#29297C #3839AA #5758C8 #8586D7 #B3B4E6

Accessibility & contrast

On white

5.78
#5758C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5758C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758C8#FFFFFF#000000##FFFFFF
##5758C81.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#187287
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5758c8;
/* rgb */ color: rgb(87, 88, 200);
/* oklch */ color: oklch(52.2% 0.170 278.3);
Tailwind
colors: {
  custom: {
    50: '#9087d9',
    500: '#5758c8',
    950: '#000000',
  },
}
SCSS
$custom: #5758c8;
$custom-light: #9087d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5758c8",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 239.469,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5216,
    "c": 0.17004,
    "h": 278.3
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#5758C8
secondary
#D5D4A6
accent
#D94EDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5758C8

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

Preview Lab → · Contrast checker → · Palette generator →

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