#5758EE#5758EE

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

Color values

HEX#5758EE
RGBrgb(87, 88, 238)
HSLhsl(240, 82%, 64%)
HSVhsv(240, 63%, 93%)
CMYKcmyk(63.4%, 63%, 0%, 6.7%)
CIE-LABlab(45.88, 44.18, -75.72)
CIE-LCHlch(45.88, 87.67, 300.26°)
OKLaboklab(55.15% 0.0235 -0.2183)
OKLCHoklch(55.15% 0.22 276.2)
XYZxyz(22.8478, 15.1768, 82.5977)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758EE #EEED57
analogous
#57A3EE #5758EE #A157EE
triadic
#5758EE #EE5758 #58EE57
tetradic
#5758EE #EE57A3 #EEED57 #57EEA1
square
#5758EE #EE57A3 #EEED57 #57EEA1
split-complementary
#5758EE #EEA157 #A3EE57
monochromatic
#1314B8 #1F21E8 #5758EE #8F8FF4 #C6C6F9

Accessibility & contrast

On white

5.20
#5758EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5758EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758EE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758EE#FFFFFF#000000##FFFFFF
##5758EE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5758ee;
/* rgb */ color: rgb(87, 88, 238);
/* oklch */ color: oklch(55.2% 0.220 276.2);
Tailwind
colors: {
  custom: {
    50: '#9687f5',
    500: '#5758ee',
    950: '#000000',
  },
}
SCSS
$custom: #5758ee;
$custom-light: #9687f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5758ee",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 239.603,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.21954,
    "h": 276.2
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#5758EE
secondary
#EBEBB6
accent
#DD08DE
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5758EE

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

Preview Lab → · Contrast checker → · Palette generator →

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