#5436BE#5436BE

#5436BE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.199 H 285.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5436BE
RGBrgb(84, 54, 190)
HSLhsl(253, 56%, 48%)
HSVhsv(253, 72%, 75%)
CMYKcmyk(55.8%, 71.6%, 0%, 25.5%)
CIE-LABlab(34.48, 48.15, -66.80)
CIE-LCHlch(34.48, 82.34, 305.78°)
OKLaboklab(45.63% 0.0533 -0.1922)
OKLCHoklch(45.63% 0.199 285.5)
XYZxyz(14.2668, 8.2400, 49.5439)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436BE #A0BE36
analogous
#365CBE #5436BE #9836BE
triadic
#5436BE #BE5436 #36BE54
tetradic
#5436BE #BE365C #A0BE36 #36BE98
square
#5436BE #BE365C #A0BE36 #36BE98
split-complementary
#5436BE #BE9836 #5CBE36
monochromatic
#2A1B5F #3F288E #5436BE #7960D2 #A18FDF

Accessibility & contrast

On white

7.93
#5436BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5436BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436BE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436BE#FFFFFF#000000##FFFFFF
##5436BE1.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)
#0055C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#235A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5436be;
/* rgb */ color: rgb(84, 54, 190);
/* oklch */ color: oklch(45.6% 0.199 285.5);
Tailwind
colors: {
  custom: {
    50: '#8f70d3',
    500: '#5436be',
    950: '#000000',
  },
}
SCSS
$custom: #5436be;
$custom-light: #8f70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5436be",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 253.235,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.19945,
    "h": 285.5
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#5436BE
secondary
#BBCA86
accent
#DF49BE
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5436BE

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

Preview Lab → · Contrast checker → · Palette generator →

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