#5F53E4#5F53E4

#5F53E4 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.211 H 280.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5F53E4
RGBrgb(95, 83, 228)
HSLhsl(245, 73%, 61%)
HSVhsv(245, 64%, 89%)
CMYKcmyk(58.3%, 63.6%, 0%, 10.6%)
CIE-LABlab(44.55, 45.14, -72.22)
CIE-LCHlch(44.55, 85.17, 302.01°)
OKLaboklab(54.08% 0.038 -0.2078)
OKLCHoklch(54.08% 0.211 280.4)
XYZxyz(21.8118, 14.2193, 74.9790)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53E4 #D8E453
analogous
#538FE4 #5F53E4 #A853E4
triadic
#5F53E4 #E45F53 #53E45F
tetradic
#5F53E4 #E4538F #D8E453 #53E4A8
square
#5F53E4 #E4538F #D8E453 #53E4A8
split-complementary
#5F53E4 #E4A853 #8FE453
monochromatic
#251AA3 #3122D8 #5F53E4 #9088EC #C1BDF5

Accessibility & contrast

On white

5.46
#5F53E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5F53E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53E4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53E4#FFFFFF#000000##FFFFFF
##5F53E41.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f53e4;
/* rgb */ color: rgb(95, 83, 228);
/* oklch */ color: oklch(54.1% 0.211 280.4);
Tailwind
colors: {
  custom: {
    50: '#9984ee',
    500: '#5f53e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f53e4;
$custom-light: #9984ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53e4",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 228
  },
  "hsl": {
    "h": 244.966,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.21126,
    "h": 280.4
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#5F53E4
secondary
#E0E5AE
accent
#D511C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F53E4

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

Preview Lab → · Contrast checker → · Palette generator →

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