#5739BF#5739BF

#5739BF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.197 H 286.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5739BF
RGBrgb(87, 57, 191)
HSLhsl(253, 54%, 49%)
HSVhsv(253, 70%, 75%)
CMYKcmyk(54.5%, 70.2%, 0%, 25.1%)
CIE-LABlab(35.43, 47.30, -65.82)
CIE-LCHlch(35.43, 81.05, 305.70°)
OKLaboklab(46.4% 0.0548 -0.1893)
OKLCHoklch(46.4% 0.197 286.2)
XYZxyz(14.7948, 8.7133, 50.1824)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739BF #A1BF39
analogous
#395EBF #5739BF #9A39BF
triadic
#5739BF #BF5739 #39BF57
tetradic
#5739BF #BF395E #A1BF39 #39BF9A
square
#5739BF #BF395E #A1BF39 #39BF9A
split-complementary
#5739BF #BF9A39 #5EBF39
monochromatic
#2C1D61 #422B90 #5739BF #7D64D1 #A493DF

Accessibility & contrast

On white

7.66
#5739BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5739BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739BF
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739BF#FFFFFF#000000##FFFFFF
##5739BF1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#2A5C78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5739bf;
/* rgb */ color: rgb(87, 57, 191);
/* oklch */ color: oklch(46.4% 0.197 286.2);
Tailwind
colors: {
  custom: {
    50: '#9172d3',
    500: '#5739bf',
    950: '#000000',
  },
}
SCSS
$custom: #5739bf;
$custom-light: #9172d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5739bf",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 253.433,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.19704,
    "h": 286.2
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#5739BF
secondary
#BCCA8A
accent
#DD4ABC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5739BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5739BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva