#5758E8#5758E8

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

Color values

HEX#5758E8
RGBrgb(87, 88, 232)
HSLhsl(240, 76%, 63%)
HSVhsv(240, 63%, 91%)
CMYKcmyk(62.5%, 62.1%, 0%, 9%)
CIE-LABlab(45.40, 42.25, -73.12)
CIE-LCHlch(45.40, 84.44, 300.02°)
OKLaboklab(54.66% 0.0239 -0.2106)
OKLCHoklch(54.66% 0.212 276.5)
XYZxyz(21.9810, 14.8301, 78.0324)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758E8 #E8E757
analogous
#57A1E8 #5758E8 #9E57E8
triadic
#5758E8 #E85758 #58E857
tetradic
#5758E8 #E857A1 #E8E757 #57E89E
square
#5758E8 #E857A1 #E8E757 #57E89E
split-complementary
#5758E8 #E89E57 #A1E857
monochromatic
#1819AD #2122E1 #5758E8 #8D8EEF #C3C3F7

Accessibility & contrast

On white

5.29
#5758E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5758E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758E8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758E8#FFFFFF#000000##FFFFFF
##5758E81.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5758e8;
/* rgb */ color: rgb(87, 88, 232);
/* oklch */ color: oklch(54.7% 0.212 276.5);
Tailwind
colors: {
  custom: {
    50: '#9587f0',
    500: '#5758e8',
    950: '#000000',
  },
}
SCSS
$custom: #5758e8;
$custom-light: #9587f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5758e8",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 239.586,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54659,
    "c": 0.21198,
    "h": 276.5
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#5758E8
secondary
#E8E7B3
accent
#D70DD8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5758E8

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

Preview Lab → · Contrast checker → · Palette generator →

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