#5758EC#5758EC

#5758EC is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.0% C 0.217 H 276.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5758EC
RGBrgb(87, 88, 236)
HSLhsl(240, 80%, 63%)
HSVhsv(240, 63%, 93%)
CMYKcmyk(63.1%, 62.7%, 0%, 7.5%)
CIE-LABlab(45.72, 43.54, -74.86)
CIE-LCHlch(45.72, 86.60, 300.18°)
OKLaboklab(54.99% 0.0237 -0.2157)
OKLCHoklch(54.99% 0.217 276.3)
XYZxyz(22.5556, 15.0599, 81.0588)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758EC #ECEB57
analogous
#57A2EC #5758EC #A057EC
triadic
#5758EC #EC5758 #58EC57
tetradic
#5758EC #EC57A2 #ECEB57 #57ECA0
square
#5758EC #EC57A2 #ECEB57 #57ECA0
split-complementary
#5758EC #ECA057 #A2EC57
monochromatic
#1415B4 #2021E6 #5758EC #8E8FF2 #C5C5F8

Accessibility & contrast

On white

5.23
#5758EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5758EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758EC#FFFFFF#000000##FFFFFF
##5758EC1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0066E9
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5758ec;
/* rgb */ color: rgb(87, 88, 236);
/* oklch */ color: oklch(55.0% 0.217 276.3);
Tailwind
colors: {
  custom: {
    50: '#9687f3',
    500: '#5758ec',
    950: '#000000',
  },
}
SCSS
$custom: #5758ec;
$custom-light: #9687f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5758ec",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 239.597,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.21703,
    "h": 276.3
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#5758EC
secondary
#EAEAB5
accent
#DB0ADC
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5758EC

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

Preview Lab → · Contrast checker → · Palette generator →

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