#5737BE#5737BE

#5737BE is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.198 H 286.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5737BE
RGBrgb(87, 55, 190)
HSLhsl(254, 55%, 48%)
HSVhsv(254, 71%, 75%)
CMYKcmyk(54.2%, 71.1%, 0%, 25.5%)
CIE-LABlab(34.95, 48.08, -66.01)
CIE-LCHlch(34.95, 81.66, 306.07°)
OKLaboklab(46.03% 0.0567 -0.1898)
OKLCHoklch(46.03% 0.198 286.6)
XYZxyz(14.5882, 8.4755, 49.5725)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5737BE #9EBE37
analogous
#375BBE #5737BE #9A37BE
triadic
#5737BE #BE5737 #37BE57
tetradic
#5737BE #BE375B #9EBE37 #37BE9A
square
#5737BE #BE375B #9EBE37 #37BE9A
split-complementary
#5737BE #BE9A37 #5BBE37
monochromatic
#2C1C5F #41298F #5737BE #7C61D1 #A390DF

Accessibility & contrast

On white

7.79
#5737BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5737BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5737BE
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5737BE#FFFFFF#000000##FFFFFF
##5737BE1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#2C5B77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5737be;
/* rgb */ color: rgb(87, 55, 190);
/* oklch */ color: oklch(46.0% 0.198 286.6);
Tailwind
colors: {
  custom: {
    50: '#9171d3',
    500: '#5737be',
    950: '#000000',
  },
}
SCSS
$custom: #5737be;
$custom-light: #9171d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5737be",
  "rgb": {
    "r": 87,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 254.222,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46034,
    "c": 0.19809,
    "h": 286.6
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#5737BE
secondary
#BACA87
accent
#DE49BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5737BE

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

Preview Lab → · Contrast checker → · Palette generator →

#5737BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva