#5436BB#5436BB

#5436BB is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.196 H 286.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5436BB
RGBrgb(84, 54, 187)
HSLhsl(254, 55%, 47%)
HSVhsv(254, 71%, 73%)
CMYKcmyk(55.1%, 71.1%, 0%, 26.7%)
CIE-LABlab(34.21, 47.27, -65.47)
CIE-LCHlch(34.21, 80.75, 305.83°)
OKLaboklab(45.36% 0.0539 -0.1883)
OKLCHoklch(45.36% 0.196 286)
XYZxyz(13.9423, 8.1102, 47.8348)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436BB #9DBB36
analogous
#365ABB #5436BB #9736BB
triadic
#5436BB #BB5436 #36BB54
tetradic
#5436BB #BB365A #9DBB36 #36BB97
square
#5436BB #BB365A #9DBB36 #36BB97
split-complementary
#5436BB #BB9736 #5ABB36
monochromatic
#291B5C #3F288C #5436BB #785ED0 #9F8DDE

Accessibility & contrast

On white

8.01
#5436BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5436BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436BB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436BB#FFFFFF#000000##FFFFFF
##5436BB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#265975
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5436bb;
/* rgb */ color: rgb(84, 54, 187);
/* oklch */ color: oklch(45.4% 0.196 286.0);
Tailwind
colors: {
  custom: {
    50: '#8f70d1',
    500: '#5436bb',
    950: '#000000',
  },
}
SCSS
$custom: #5436bb;
$custom-light: #8f70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5436bb",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 253.534,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.19586,
    "h": 286
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#5436BB
secondary
#B9C984
accent
#DF49BD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5436BB

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

Preview Lab → · Contrast checker → · Palette generator →

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