#5B53F2#5B53F2

#5B53F2 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.0% C 0.229 H 277.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5B53F2
RGBrgb(91, 83, 242)
HSLhsl(243, 86%, 64%)
HSVhsv(243, 66%, 95%)
CMYKcmyk(62.4%, 65.7%, 0%, 5.1%)
CIE-LABlab(45.39, 48.91, -78.76)
CIE-LCHlch(45.39, 92.71, 301.84°)
OKLaboklab(54.97% 0.0317 -0.2271)
OKLCHoklch(54.97% 0.229 277.9)
XYZxyz(23.4295, 14.8196, 85.6130)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53F2 #EAF253
analogous
#539AF2 #5B53F2 #AA53F2
triadic
#5B53F2 #F25B53 #53F25B
tetradic
#5B53F2 #F2539A #EAF253 #53F2AA
square
#5B53F2 #F2539A #EAF253 #53F2AA
split-complementary
#5B53F2 #F2AA53 #9AF253
monochromatic
#170EBC #251AEE #5B53F2 #918CF6 #C8C5FB

Accessibility & contrast

On white

5.30
#5B53F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5B53F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B53F2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B53F2#FFFFFF#000000##FFFFFF
##5B53F21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0065EF
Tritanopia (blue-blind)
#007D9C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b53f2;
/* rgb */ color: rgb(91, 83, 242);
/* oklch */ color: oklch(55.0% 0.229 277.9);
Tailwind
colors: {
  custom: {
    50: '#9984f8',
    500: '#5b53f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b53f2;
$custom-light: #9984f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53f2",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 242
  },
  "hsl": {
    "h": 243.019,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.54969,
    "c": 0.22929,
    "h": 277.9
  },
  "luminance": 0.14821
}

Semantic roles & 50–950 ramp

primary
#5B53F2
secondary
#EAECB4
accent
#E203D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B53F2

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

Preview Lab → · Contrast checker → · Palette generator →

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