#5758E7#5758E7

#5758E7 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.6% C 0.211 H 276.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5758E7
RGBrgb(87, 88, 231)
HSLhsl(240, 75%, 62%)
HSVhsv(240, 62%, 91%)
CMYKcmyk(62.3%, 61.9%, 0%, 9.4%)
CIE-LABlab(45.32, 41.93, -72.68)
CIE-LCHlch(45.32, 83.90, 299.98°)
OKLaboklab(54.58% 0.024 -0.2093)
OKLCHoklch(54.58% 0.211 276.5)
XYZxyz(21.8393, 14.7734, 77.2865)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758E7 #E7E657
analogous
#57A0E7 #5758E7 #9E57E7
triadic
#5758E7 #E75758 #58E757
tetradic
#5758E7 #E757A0 #E7E657 #57E79E
square
#5758E7 #E757A0 #E7E657 #57E79E
split-complementary
#5758E7 #E79E57 #A0E757
monochromatic
#1819AB #2123DF #5758E7 #8D8DEF #C2C2F6

Accessibility & contrast

On white

5.31
#5758E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5758E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758E7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758E7#FFFFFF#000000##FFFFFF
##5758E71.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5758e7;
/* rgb */ color: rgb(87, 88, 231);
/* oklch */ color: oklch(54.6% 0.211 276.5);
Tailwind
colors: {
  custom: {
    50: '#9587f0',
    500: '#5758e7',
    950: '#000000',
  },
}
SCSS
$custom: #5758e7;
$custom-light: #9587f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5758e7",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 231
  },
  "hsl": {
    "h": 239.583,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54578,
    "c": 0.21071,
    "h": 276.5
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#5758E7
secondary
#E7E7B3
accent
#D60ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5758E7

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

Preview Lab → · Contrast checker → · Palette generator →

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