#5759F5#5759F5

#5759F5 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.227 H 275.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5759F5
RGBrgb(87, 89, 245)
HSLhsl(239, 89%, 65%)
HSVhsv(239, 64%, 96%)
CMYKcmyk(64.5%, 63.7%, 0%, 3.9%)
CIE-LABlab(46.66, 45.85, -78.37)
CIE-LCHlch(46.66, 90.79, 300.33°)
OKLaboklab(55.9% 0.0223 -0.226)
OKLCHoklch(55.9% 0.227 275.6)
XYZxyz(23.9789, 15.7615, 88.1471)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759F5 #F5F357
analogous
#57A8F5 #5759F5 #A457F5
triadic
#5759F5 #F55759 #59F557
tetradic
#5759F5 #F557A8 #F5F357 #57F5A4
square
#5759F5 #F557A8 #F5F357 #57F5A4
split-complementary
#5759F5 #F5A457 #A8F557
monochromatic
#0C0EC6 #1D20F2 #5759F5 #9192F8 #CBCBFC

Accessibility & contrast

On white

5.06
#5759F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5759F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759F5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759F5#FFFFFF#000000##FFFFFF
##5759F51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5759f5;
/* rgb */ color: rgb(87, 89, 245);
/* oklch */ color: oklch(55.9% 0.227 275.6);
Tailwind
colors: {
  custom: {
    50: '#9788fa',
    500: '#5759f5',
    950: '#000000',
  },
}
SCSS
$custom: #5759f5;
$custom-light: #9788fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5759f5",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 245
  },
  "hsl": {
    "h": 239.241,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.22711,
    "h": 275.6
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#5759F5
secondary
#EFEEB9
accent
#E200E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5759F5

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

Preview Lab → · Contrast checker → · Palette generator →

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