#5759E8#5759E8

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

Color values

HEX#5759E8
RGBrgb(87, 89, 232)
HSLhsl(239, 76%, 63%)
HSVhsv(239, 63%, 91%)
CMYKcmyk(62.5%, 61.6%, 0%, 9%)
CIE-LABlab(45.63, 41.65, -72.74)
CIE-LCHlch(45.63, 83.83, 299.80°)
OKLaboklab(54.83% 0.0231 -0.2095)
OKLCHoklch(54.83% 0.211 276.3)
XYZxyz(22.0636, 14.9954, 78.0600)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759E8 #E8E657
analogous
#57A2E8 #5759E8 #9D57E8
triadic
#5759E8 #E85759 #59E857
tetradic
#5759E8 #E857A2 #E8E657 #57E89D
square
#5759E8 #E857A2 #E8E657 #57E89D
split-complementary
#5759E8 #E89D57 #A2E857
monochromatic
#181AAD #2124E1 #5759E8 #8D8EEF #C3C3F7

Accessibility & contrast

On white

5.25
#5759E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5759E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759E8
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759E8#FFFFFF#000000##FFFFFF
##5759E81.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)
#0072ED
Deuteranopia (green-blind)
#0066E5
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5759e8;
/* rgb */ color: rgb(87, 89, 232);
/* oklch */ color: oklch(54.8% 0.211 276.3);
Tailwind
colors: {
  custom: {
    50: '#9588f0',
    500: '#5759e8',
    950: '#000000',
  },
}
SCSS
$custom: #5759e8;
$custom-light: #9588f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5759e8",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 232
  },
  "hsl": {
    "h": 239.172,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54826,
    "c": 0.2108,
    "h": 276.3
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#5759E8
secondary
#E8E7B3
accent
#D50DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5759E8

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

Preview Lab → · Contrast checker → · Palette generator →

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