#5758E5#5758E5

#5758E5 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.4% C 0.208 H 276.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5758E5
RGBrgb(87, 88, 229)
HSLhsl(240, 73%, 62%)
HSVhsv(240, 62%, 90%)
CMYKcmyk(62%, 61.6%, 0%, 10.2%)
CIE-LABlab(45.17, 41.28, -71.80)
CIE-LCHlch(45.17, 82.82, 299.89°)
OKLaboklab(54.42% 0.0241 -0.2068)
OKLCHoklch(54.42% 0.208 276.7)
XYZxyz(21.5585, 14.6611, 75.8073)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758E5 #E5E457
analogous
#579FE5 #5758E5 #9D57E5
triadic
#5758E5 #E55758 #58E557
tetradic
#5758E5 #E5579F #E5E457 #57E59D
square
#5758E5 #E5579F #E5E457 #57E59D
split-complementary
#5758E5 #E59D57 #9FE557
monochromatic
#1A1BA8 #2223DD #5758E5 #8C8DED #C1C1F5

Accessibility & contrast

On white

5.34
#5758E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5758E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758E5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758E5#FFFFFF#000000##FFFFFF
##5758E51.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5758e5;
/* rgb */ color: rgb(87, 88, 229);
/* oklch */ color: oklch(54.4% 0.208 276.7);
Tailwind
colors: {
  custom: {
    50: '#9587ee',
    500: '#5758e5',
    950: '#000000',
  },
}
SCSS
$custom: #5758e5;
$custom-light: #9587ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5758e5",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 239.577,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.20816,
    "h": 276.7
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#5758E5
secondary
#E6E6B2
accent
#D410D5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5758E5

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

Preview Lab → · Contrast checker → · Palette generator →

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