#5759EB#5759EB

#5759EB is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.1% C 0.215 H 276.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5759EB
RGBrgb(87, 89, 235)
HSLhsl(239, 79%, 63%)
HSVhsv(239, 63%, 92%)
CMYKcmyk(63%, 62.1%, 0%, 7.8%)
CIE-LABlab(45.86, 42.62, -74.05)
CIE-LCHlch(45.86, 85.45, 299.92°)
OKLaboklab(55.07% 0.023 -0.2134)
OKLCHoklch(55.07% 0.215 276.1)
XYZxyz(22.4934, 15.1673, 80.3234)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759EB #EBE957
analogous
#57A3EB #5759EB #9F57EB
triadic
#5759EB #EB5759 #59EB57
tetradic
#5759EB #EB57A3 #EBE957 #57EB9F
square
#5759EB #EB57A3 #EBE957 #57EB9F
split-complementary
#5759EB #EB9F57 #A3EB57
monochromatic
#1517B2 #2023E4 #5759EB #8E8FF2 #C4C5F8

Accessibility & contrast

On white

5.21
#5759EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5759EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759EB#FFFFFF#000000##FFFFFF
##5759EB1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5759eb;
/* rgb */ color: rgb(87, 89, 235);
/* oklch */ color: oklch(55.1% 0.215 276.1);
Tailwind
colors: {
  custom: {
    50: '#9688f2',
    500: '#5759eb',
    950: '#000000',
  },
}
SCSS
$custom: #5759eb;
$custom-light: #9688f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5759eb",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 239.189,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.2146,
    "h": 276.1
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#5759EB
secondary
#E9E9B4
accent
#D80ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5759EB

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

Preview Lab → · Contrast checker → · Palette generator →

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