#5F53E5#5F53E5

#5F53E5 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.2% C 0.212 H 280.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5F53E5
RGBrgb(95, 83, 229)
HSLhsl(245, 74%, 61%)
HSVhsv(245, 64%, 90%)
CMYKcmyk(58.5%, 63.8%, 0%, 10.2%)
CIE-LABlab(44.62, 45.45, -72.66)
CIE-LCHlch(44.62, 85.71, 302.03°)
OKLaboklab(54.17% 0.0379 -0.2091)
OKLCHoklch(54.17% 0.213 280.3)
XYZxyz(21.9510, 14.2750, 75.7122)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53E5 #D9E553
analogous
#5390E5 #5F53E5 #A853E5
triadic
#5F53E5 #E55F53 #53E55F
tetradic
#5F53E5 #E55390 #D9E553 #53E5A8
square
#5F53E5 #E55390 #D9E553 #53E5A8
split-complementary
#5F53E5 #E5A853 #90E553
monochromatic
#2419A5 #3021DA #5F53E5 #9088ED #C2BDF5

Accessibility & contrast

On white

5.45
#5F53E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5F53E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53E5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53E5#FFFFFF#000000##FFFFFF
##5F53E51.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f53e5;
/* rgb */ color: rgb(95, 83, 229);
/* oklch */ color: oklch(54.2% 0.212 280.3);
Tailwind
colors: {
  custom: {
    50: '#9984ee',
    500: '#5f53e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f53e5;
$custom-light: #9984ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53e5",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 229
  },
  "hsl": {
    "h": 244.932,
    "s": 73.737,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54165,
    "c": 0.2125,
    "h": 280.3
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#5F53E5
secondary
#E1E5AE
accent
#D610C6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F53E5

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

Preview Lab → · Contrast checker → · Palette generator →

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