#5B53AF#5B53AF

#5B53AF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.142 H 283.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5B53AF
RGBrgb(91, 83, 175)
HSLhsl(245, 37%, 51%)
HSVhsv(245, 53%, 69%)
CMYKcmyk(48%, 52.6%, 0%, 31.4%)
CIE-LABlab(40.42, 27.88, -48.28)
CIE-LCHlch(40.42, 55.75, 300.00°)
OKLaboklab(49.76% 0.0341 -0.1375)
OKLCHoklch(49.76% 0.142 283.9)
XYZxyz(15.1432, 11.5051, 41.9719)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53AF #A7AF53
analogous
#5379AF #5B53AF #8953AF
triadic
#5B53AF #AF5B53 #53AF5B
tetradic
#5B53AF #AF5379 #A7AF53 #53AF89
square
#5B53AF #AF5379 #A7AF53 #53AF89
split-complementary
#5B53AF #AF8953 #79AF53
monochromatic
#2F2B5D #453E86 #5B53AF #837DC2 #ABA7D6

Accessibility & contrast

On white

6.36
#5B53AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5B53AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B53AF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B53AF#FFFFFF#000000##FFFFFF
##5B53AF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#215CAD
Tritanopia (blue-blind)
#3E6779
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b53af;
/* rgb */ color: rgb(91, 83, 175);
/* oklch */ color: oklch(49.8% 0.142 283.9);
Tailwind
colors: {
  custom: {
    50: '#8f83c7',
    500: '#5b53af',
    950: '#000000',
  },
}
SCSS
$custom: #5b53af;
$custom-light: #8f83c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53af",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 175
  },
  "hsl": {
    "h": 245.217,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49759,
    "c": 0.14169,
    "h": 283.9
  },
  "luminance": 0.11506
}

Semantic roles & 50–950 ramp

primary
#5B53AF
secondary
#C0C39A
accent
#CD5BC3
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5B53AF

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

Preview Lab → · Contrast checker → · Palette generator →

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