#5758EF#5758EF

#5758EF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.221 H 276.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5758EF
RGBrgb(87, 88, 239)
HSLhsl(240, 83%, 64%)
HSVhsv(240, 64%, 94%)
CMYKcmyk(63.6%, 63.2%, 0%, 6.3%)
CIE-LABlab(45.96, 44.51, -76.15)
CIE-LCHlch(45.96, 88.21, 300.30°)
OKLaboklab(55.24% 0.0235 -0.2195)
OKLCHoklch(55.24% 0.221 276.1)
XYZxyz(22.9951, 15.2357, 83.3736)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758EF #EFEE57
analogous
#57A4EF #5758EF #A257EF
triadic
#5758EF #EF5758 #58EF57
tetradic
#5758EF #EF57A4 #EFEE57 #57EFA2
square
#5758EF #EF57A4 #EFEE57 #57EFA2
split-complementary
#5758EF #EFA257 #A4EF57
monochromatic
#1213BA #1F20EA #5758EF #8F90F4 #C7C7FA

Accessibility & contrast

On white

5.19
#5758EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5758EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758EF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758EF#FFFFFF#000000##FFFFFF
##5758EF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0066EC
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5758ef;
/* rgb */ color: rgb(87, 88, 239);
/* oklch */ color: oklch(55.2% 0.221 276.1);
Tailwind
colors: {
  custom: {
    50: '#9687f5',
    500: '#5758ef',
    950: '#000000',
  },
}
SCSS
$custom: #5758ef;
$custom-light: #9687f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5758ef",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 239.605,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.22079,
    "h": 276.1
  },
  "luminance": 0.15238
}

Semantic roles & 50–950 ramp

primary
#5758EF
secondary
#ECEBB6
accent
#DE06DF
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5758EF

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

Preview Lab → · Contrast checker → · Palette generator →

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