#5758EB#5758EB

#5758EB is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.216 H 276.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5758EB
RGBrgb(87, 88, 235)
HSLhsl(240, 79%, 63%)
HSVhsv(240, 63%, 92%)
CMYKcmyk(63%, 62.6%, 0%, 7.8%)
CIE-LABlab(45.64, 43.22, -74.42)
CIE-LCHlch(45.64, 86.06, 300.14°)
OKLaboklab(54.91% 0.0238 -0.2145)
OKLCHoklch(54.91% 0.216 276.3)
XYZxyz(22.4107, 15.0020, 80.2958)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5758EB #EBEA57
analogous
#57A2EB #5758EB #A057EB
triadic
#5758EB #EB5758 #58EB57
tetradic
#5758EB #EB57A2 #EBEA57 #57EBA0
square
#5758EB #EB57A2 #EBEA57 #57EBA0
split-complementary
#5758EB #EBA057 #A2EB57
monochromatic
#1516B2 #2022E4 #5758EB #8E8EF2 #C4C5F8

Accessibility & contrast

On white

5.25
#5758EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5758EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5758EB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5758EB#FFFFFF#000000##FFFFFF
##5758EB1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0066E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5758eb;
/* rgb */ color: rgb(87, 88, 235);
/* oklch */ color: oklch(54.9% 0.216 276.3);
Tailwind
colors: {
  custom: {
    50: '#9687f2',
    500: '#5758eb',
    950: '#000000',
  },
}
SCSS
$custom: #5758eb;
$custom-light: #9687f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5758eb",
  "rgb": {
    "r": 87,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 239.595,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.21577,
    "h": 276.3
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

primary
#5758EB
secondary
#E9E9B4
accent
#DA0ADB
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5758EB

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

Preview Lab → · Contrast checker → · Palette generator →

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