#5437BE#5437BE

#5437BE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.198 H 285.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5437BE
RGBrgb(84, 55, 190)
HSLhsl(253, 55%, 48%)
HSVhsv(253, 71%, 75%)
CMYKcmyk(55.8%, 71.1%, 0%, 25.5%)
CIE-LABlab(34.67, 47.61, -66.49)
CIE-LCHlch(34.67, 81.78, 305.61°)
OKLaboklab(45.76% 0.0525 -0.1913)
OKLCHoklch(45.76% 0.198 285.3)
XYZxyz(14.3138, 8.3341, 49.5596)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5437BE #A1BE37
analogous
#375DBE #5437BE #9737BE
triadic
#5437BE #BE5437 #37BE54
tetradic
#5437BE #BE375D #A1BE37 #37BE97
square
#5437BE #BE375D #A1BE37 #37BE97
split-complementary
#5437BE #BE9737 #5DBE37
monochromatic
#2A1C5F #3F298F #5437BE #7961D1 #A190DF

Accessibility & contrast

On white

7.87
#5437BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5437BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5437BE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5437BE#FFFFFF#000000##FFFFFF
##5437BE1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#225B77
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5437be;
/* rgb */ color: rgb(84, 55, 190);
/* oklch */ color: oklch(45.8% 0.198 285.3);
Tailwind
colors: {
  custom: {
    50: '#8f71d3',
    500: '#5437be',
    950: '#000000',
  },
}
SCSS
$custom: #5437be;
$custom-light: #8f71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5437be",
  "rgb": {
    "r": 84,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 252.889,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.19836,
    "h": 285.3
  },
  "luminance": 0.08335
}

Semantic roles & 50–950 ramp

primary
#5437BE
secondary
#BBCA87
accent
#DE49BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5437BE

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

Preview Lab → · Contrast checker → · Palette generator →

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