#5758E1#5758E1

#5758E1 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.203 H 276.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5758E1
RGBrgb(87, 88, 225)
HSLhsl(240, 70%, 61%)
HSVhsv(240, 61%, 88%)
CMYKcmyk(61.3%, 60.9%, 0%, 11.8%)
CIE-LABlab(44.86, 39.98, -70.04)
CIE-LCHlch(44.86, 80.65, 299.72°)
OKLaboklab(54.09% 0.0243 -0.2016)
OKLCHoklch(54.09% 0.203 276.9)
XYZxyz(21.0064, 14.4403, 72.8998)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758E1 #E1E057
analogous
#579DE1 #5758E1 #9B57E1
triadic
#5758E1 #E15758 #58E157
tetradic
#5758E1 #E1579D #E1E057 #57E19B
square
#5758E1 #E1579D #E1E057 #57E19B
split-complementary
#5758E1 #E19B57 #9DE157
monochromatic
#1D1EA1 #2627D5 #5758E1 #8B8CEA #BFBFF4

Accessibility & contrast

On white

5.40
#5758E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5758E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758E1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758E1#FFFFFF#000000##FFFFFF
##5758E11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0064DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5758e1;
/* rgb */ color: rgb(87, 88, 225);
/* oklch */ color: oklch(54.1% 0.203 276.9);
Tailwind
colors: {
  custom: {
    50: '#9487eb',
    500: '#5758e1',
    950: '#000000',
  },
}
SCSS
$custom: #5758e1;
$custom-light: #9487eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5758e1",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 239.565,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.20304,
    "h": 276.9
  },
  "luminance": 0.14442
}

Semantic roles & 50–950 ramp

primary
#5758E1
secondary
#E4E3B0
accent
#D014D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5758E1

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

Preview Lab → · Contrast checker → · Palette generator →

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