#5F53E7#5F53E7

#5F53E7 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.215 H 280.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5F53E7
RGBrgb(95, 83, 231)
HSLhsl(245, 76%, 62%)
HSVhsv(245, 64%, 91%)
CMYKcmyk(58.9%, 64.1%, 0%, 9.4%)
CIE-LABlab(44.78, 46.07, -73.53)
CIE-LCHlch(44.78, 86.78, 302.07°)
OKLaboklab(54.33% 0.0378 -0.2116)
OKLCHoklch(54.33% 0.215 280.1)
XYZxyz(22.2318, 14.3874, 77.1913)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53E7 #DBE753
analogous
#5391E7 #5F53E7 #A953E7
triadic
#5F53E7 #E75F53 #53E75F
tetradic
#5F53E7 #E75391 #DBE753 #53E7A9
square
#5F53E7 #E75391 #DBE753 #53E7A9
split-complementary
#5F53E7 #E7A953 #91E753
monochromatic
#2317A8 #2E1FDE #5F53E7 #9189EE #C3BEF6

Accessibility & contrast

On white

5.42
#5F53E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5F53E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53E7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53E7#FFFFFF#000000##FFFFFF
##5F53E71.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f53e7;
/* rgb */ color: rgb(95, 83, 231);
/* oklch */ color: oklch(54.3% 0.215 280.1);
Tailwind
colors: {
  custom: {
    50: '#9984f0',
    500: '#5f53e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f53e7;
$custom-light: #9984f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53e7",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 231
  },
  "hsl": {
    "h": 244.865,
    "s": 75.51,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.21499,
    "h": 280.1
  },
  "luminance": 0.14389
}

Semantic roles & 50–950 ramp

primary
#5F53E7
secondary
#E2E6AF
accent
#D80EC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F53E7

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

Preview Lab → · Contrast checker → · Palette generator →

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