#5759E6#5759E6

#5759E6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.7% C 0.208 H 276.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5759E6
RGBrgb(87, 89, 230)
HSLhsl(239, 74%, 62%)
HSVhsv(239, 62%, 90%)
CMYKcmyk(62.2%, 61.3%, 0%, 9.8%)
CIE-LABlab(45.47, 41.00, -71.87)
CIE-LCHlch(45.47, 82.74, 299.71°)
OKLaboklab(54.66% 0.0232 -0.2069)
OKLCHoklch(54.66% 0.208 276.4)
XYZxyz(21.7811, 14.8824, 76.5723)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759E6 #E6E457
analogous
#57A0E6 #5759E6 #9D57E6
triadic
#5759E6 #E65759 #59E657
tetradic
#5759E6 #E657A0 #E6E457 #57E69D
square
#5759E6 #E657A0 #E6E457 #57E69D
split-complementary
#5759E6 #E69D57 #A0E657
monochromatic
#191BA9 #2224DE #5759E6 #8C8EEE #C2C2F6

Accessibility & contrast

On white

5.28
#5759E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5759E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759E6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759E6#FFFFFF#000000##FFFFFF
##5759E61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5759e6;
/* rgb */ color: rgb(87, 89, 230);
/* oklch */ color: oklch(54.7% 0.208 276.4);
Tailwind
colors: {
  custom: {
    50: '#9588ef',
    500: '#5759e6',
    950: '#000000',
  },
}
SCSS
$custom: #5759e6;
$custom-light: #9588ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5759e6",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 239.161,
    "s": 74.093,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54664,
    "c": 0.20825,
    "h": 276.4
  },
  "luminance": 0.14884
}

Semantic roles & 50–950 ramp

primary
#5759E6
secondary
#E7E6B2
accent
#D30FD6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5759E6

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

Preview Lab → · Contrast checker → · Palette generator →

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