#5759F2#5759F2

#5759F2 is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.223 H 275.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5759F2
RGBrgb(87, 89, 242)
HSLhsl(239, 86%, 65%)
HSVhsv(239, 64%, 95%)
CMYKcmyk(64%, 63.2%, 0%, 5.1%)
CIE-LABlab(46.42, 44.88, -77.08)
CIE-LCHlch(46.42, 89.20, 300.21°)
OKLaboklab(55.65% 0.0225 -0.2222)
OKLCHoklch(55.65% 0.223 275.8)
XYZxyz(23.5246, 15.5798, 85.7547)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759F2 #F2F057
analogous
#57A6F2 #5759F2 #A357F2
triadic
#5759F2 #F25759 #59F257
tetradic
#5759F2 #F257A6 #F2F057 #57F2A3
square
#5759F2 #F257A6 #F2F057 #57F2A3
split-complementary
#5759F2 #F2A357 #A6F257
monochromatic
#0F11C0 #1E21EE #5759F2 #9091F6 #C9C9FB

Accessibility & contrast

On white

5.10
#5759F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5759F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759F2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759F2#FFFFFF#000000##FFFFFF
##5759F21.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#00809D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5759f2;
/* rgb */ color: rgb(87, 89, 242);
/* oklch */ color: oklch(55.6% 0.223 275.8);
Tailwind
colors: {
  custom: {
    50: '#9788f7',
    500: '#5759f2',
    950: '#000000',
  },
}
SCSS
$custom: #5759f2;
$custom-light: #9788f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5759f2",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 239.226,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.22338,
    "h": 275.8
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#5759F2
secondary
#EDECB8
accent
#DF03E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5759F2

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

Preview Lab → · Contrast checker → · Palette generator →

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