#5F53EC#5F53EC

#5F53EC is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.221 H 279.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5F53EC
RGBrgb(95, 83, 236)
HSLhsl(245, 80%, 63%)
HSVhsv(245, 65%, 93%)
CMYKcmyk(59.7%, 64.8%, 0%, 7.5%)
CIE-LABlab(45.18, 47.62, -75.70)
CIE-LCHlch(45.18, 89.43, 302.17°)
OKLaboklab(54.75% 0.0373 -0.218)
OKLCHoklch(54.75% 0.221 279.7)
XYZxyz(22.9481, 14.6739, 80.9637)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53EC #E0EC53
analogous
#5393EC #5F53EC #AC53EC
triadic
#5F53EC #EC5F53 #53EC5F
tetradic
#5F53EC #EC5393 #E0EC53 #53ECAC
square
#5F53EC #EC5393 #E0EC53 #53ECAC
split-complementary
#5F53EC #ECAC53 #93EC53
monochromatic
#2014B1 #2C1CE6 #5F53EC #928AF2 #C6C1F8

Accessibility & contrast

On white

5.34
#5F53EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5F53EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53EC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53EC#FFFFFF#000000##FFFFFF
##5F53EC1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f53ec;
/* rgb */ color: rgb(95, 83, 236);
/* oklch */ color: oklch(54.7% 0.221 279.7);
Tailwind
colors: {
  custom: {
    50: '#9a84f3',
    500: '#5f53ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f53ec;
$custom-light: #9a84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53ec",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 236
  },
  "hsl": {
    "h": 244.706,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54745,
    "c": 0.22118,
    "h": 279.7
  },
  "luminance": 0.14676
}

Semantic roles & 50–950 ramp

primary
#5F53EC
secondary
#E5E9B2
accent
#DC09CC
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F53EC

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

Preview Lab → · Contrast checker → · Palette generator →

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