#5739BB#5739BB

#5739BB is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.192 H 286.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5739BB
RGBrgb(87, 57, 187)
HSLhsl(254, 53%, 48%)
HSVhsv(254, 70%, 73%)
CMYKcmyk(53.5%, 69.5%, 0%, 26.7%)
CIE-LABlab(35.08, 46.12, -64.03)
CIE-LCHlch(35.08, 78.91, 305.77°)
OKLaboklab(46.05% 0.0556 -0.184)
OKLCHoklch(46.05% 0.192 286.8)
XYZxyz(14.3606, 8.5396, 47.8957)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5739BB #9DBB39
analogous
#395CBB #5739BB #9839BB
triadic
#5739BB #BB5739 #39BB57
tetradic
#5739BB #BB395C #9DBB39 #39BB98
square
#5739BB #BB395C #9DBB39 #39BB98
split-complementary
#5739BB #BB9839 #5CBB39
monochromatic
#2B1C5D #412B8C #5739BB #7B62CF #A391DD

Accessibility & contrast

On white

7.75
#5739BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5739BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5739BB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5739BB#FFFFFF#000000##FFFFFF
##5739BB1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#2E5B76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5739bb;
/* rgb */ color: rgb(87, 57, 187);
/* oklch */ color: oklch(46.0% 0.192 286.8);
Tailwind
colors: {
  custom: {
    50: '#9072d0',
    500: '#5739bb',
    950: '#000000',
  },
}
SCSS
$custom: #5739bb;
$custom-light: #9072d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5739bb",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 253.846,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46045,
    "c": 0.19221,
    "h": 286.8
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#5739BB
secondary
#B9C887
accent
#DD4BBB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5739BB

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

Preview Lab → · Contrast checker → · Palette generator →

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