#5F53DC#5F53DC

#5F53DC is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.4% C 0.201 H 281.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5F53DC
RGBrgb(95, 83, 220)
HSLhsl(245, 66%, 59%)
HSVhsv(245, 62%, 86%)
CMYKcmyk(56.8%, 62.3%, 0%, 13.7%)
CIE-LABlab(43.92, 42.66, -68.69)
CIE-LCHlch(43.92, 80.86, 301.84°)
OKLaboklab(53.44% 0.0387 -0.1974)
OKLCHoklch(53.44% 0.201 281.1)
XYZxyz(20.7268, 13.7853, 69.2649)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53DC #D0DC53
analogous
#538CDC #5F53DC #A353DC
triadic
#5F53DC #DC5F53 #53DC5F
tetradic
#5F53DC #DC538C #D0DC53 #53DCA3
square
#5F53DC #DC538C #D0DC53 #53DCA3
split-complementary
#5F53DC #DCA353 #8CDC53
monochromatic
#291F96 #3729C9 #5F53DC #8E86E6 #BEB9F1

Accessibility & contrast

On white

5.59
#5F53DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5F53DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53DC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53DC#FFFFFF#000000##FFFFFF
##5F53DC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#187590
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f53dc;
/* rgb */ color: rgb(95, 83, 220);
/* oklch */ color: oklch(53.4% 0.201 281.1);
Tailwind
colors: {
  custom: {
    50: '#9884e8',
    500: '#5f53dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f53dc;
$custom-light: #9884e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53dc",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 220
  },
  "hsl": {
    "h": 245.255,
    "s": 66.184,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53435,
    "c": 0.20119,
    "h": 281.1
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#5F53DC
secondary
#DBE0AB
accent
#E93FDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F53DC

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

Preview Lab → · Contrast checker → · Palette generator →

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