#5734BF#5734BF

#5734BF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.203 H 286.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5734BF
RGBrgb(87, 52, 191)
HSLhsl(255, 57%, 48%)
HSVhsv(255, 73%, 75%)
CMYKcmyk(54.5%, 72.8%, 0%, 25.1%)
CIE-LABlab(34.48, 49.93, -67.37)
CIE-LCHlch(34.48, 83.85, 306.54°)
OKLaboklab(45.73% 0.059 -0.1938)
OKLCHoklch(45.73% 0.203 286.9)
XYZxyz(14.5596, 8.2430, 50.1040)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5734BF #9CBF34
analogous
#3456BF #5734BF #9D34BF
triadic
#5734BF #BF5734 #34BF57
tetradic
#5734BF #BF3456 #9CBF34 #34BF9D
square
#5734BF #BF3456 #9CBF34 #34BF9D
split-complementary
#5734BF #BF9D34 #56BF34
monochromatic
#2B1A5F #41278F #5734BF #7B5DD3 #A28DE0

Accessibility & contrast

On white

7.93
#5734BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5734BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5734BF
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5734BF#FFFFFF#000000##FFFFFF
##5734BF1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#2B5A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5734bf;
/* rgb */ color: rgb(87, 52, 191);
/* oklch */ color: oklch(45.7% 0.203 286.9);
Tailwind
colors: {
  custom: {
    50: '#916fd3',
    500: '#5734bf',
    950: '#000000',
  },
}
SCSS
$custom: #5734bf;
$custom-light: #916fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5734bf",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 255.108,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.20254,
    "h": 286.9
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#5734BF
secondary
#B9CA84
accent
#E047BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5734BF

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

Preview Lab → · Contrast checker → · Palette generator →

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