#5B53EC#5B53EC

#5B53EC is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.5% C 0.222 H 278.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5B53EC
RGBrgb(91, 83, 236)
HSLhsl(243, 80%, 63%)
HSVhsv(243, 65%, 93%)
CMYKcmyk(61.4%, 64.8%, 0%, 7.5%)
CIE-LABlab(44.89, 47.03, -76.19)
CIE-LCHlch(44.89, 89.54, 301.69°)
OKLaboklab(54.46% 0.0323 -0.2196)
OKLCHoklch(54.46% 0.222 278.4)
XYZxyz(22.5431, 14.4650, 80.9447)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53EC #E4EC53
analogous
#5398EC #5B53EC #A753EC
triadic
#5B53EC #EC5B53 #53EC5B
tetradic
#5B53EC #EC5398 #E4EC53 #53ECA7
square
#5B53EC #EC5398 #E4EC53 #53ECA7
split-complementary
#5B53EC #ECA753 #98EC53
monochromatic
#1C14B1 #261CE6 #5B53EC #908AF2 #C4C1F8

Accessibility & contrast

On white

5.39
#5B53EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5B53EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B53EC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B53EC#FFFFFF#000000##FFFFFF
##5B53EC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5b53ec;
/* rgb */ color: rgb(91, 83, 236);
/* oklch */ color: oklch(54.5% 0.222 278.4);
Tailwind
colors: {
  custom: {
    50: '#9884f3',
    500: '#5b53ec',
    950: '#000000',
  },
}
SCSS
$custom: #5b53ec;
$custom-light: #9884f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53ec",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 236
  },
  "hsl": {
    "h": 243.137,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54459,
    "c": 0.22193,
    "h": 278.4
  },
  "luminance": 0.14467
}

Semantic roles & 50–950 ramp

primary
#5B53EC
secondary
#E6E9B2
accent
#DC09D1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B53EC

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

Preview Lab → · Contrast checker → · Palette generator →

#5B53EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva