#5A53F2#5A53F2

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

Color values

HEX#5A53F2
RGBrgb(90, 83, 242)
HSLhsl(243, 86%, 64%)
HSVhsv(243, 66%, 95%)
CMYKcmyk(62.8%, 65.7%, 0%, 5.1%)
CIE-LABlab(45.32, 48.77, -78.88)
CIE-LCHlch(45.32, 92.74, 301.73°)
OKLaboklab(54.9% 0.0305 -0.2275)
OKLCHoklch(54.9% 0.229 277.6)
XYZxyz(23.3315, 14.7691, 85.6084)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53F2 #EBF253
analogous
#539BF2 #5A53F2 #AA53F2
triadic
#5A53F2 #F25A53 #53F25A
tetradic
#5A53F2 #F2539B #EBF253 #53F2AA
square
#5A53F2 #F2539B #EBF253 #53F2AA
split-complementary
#5A53F2 #F2AA53 #9BF253
monochromatic
#160EBC #231AEE #5A53F2 #918CF6 #C7C5FB

Accessibility & contrast

On white

5.31
#5A53F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5A53F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53F2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53F2#FFFFFF#000000##FFFFFF
##5A53F21.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.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: #5a53f2;
/* rgb */ color: rgb(90, 83, 242);
/* oklch */ color: oklch(54.9% 0.229 277.6);
Tailwind
colors: {
  custom: {
    50: '#9984f8',
    500: '#5a53f2',
    950: '#000000',
  },
}
SCSS
$custom: #5a53f2;
$custom-light: #9984f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53f2",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 242
  },
  "hsl": {
    "h": 242.642,
    "s": 85.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.549,
    "c": 0.22949,
    "h": 277.6
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A53F2

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

Preview Lab → · Contrast checker → · Palette generator →

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