#5F52DD#5F52DD

#5F52DD is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.204 H 281.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5F52DD
RGBrgb(95, 82, 221)
HSLhsl(246, 67%, 59%)
HSVhsv(246, 63%, 87%)
CMYKcmyk(57%, 62.9%, 0%, 13.3%)
CIE-LABlab(43.78, 43.56, -69.49)
CIE-LCHlch(43.78, 82.02, 302.08°)
OKLaboklab(53.36% 0.0395 -0.1998)
OKLCHoklch(53.36% 0.204 281.2)
XYZxyz(20.7837, 13.6866, 69.9392)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F52DD #D0DD52
analogous
#528ADD #5F52DD #A552DD
triadic
#5F52DD #DD5F52 #52DD5F
tetradic
#5F52DD #DD528A #D0DD52 #52DDA5
square
#5F52DD #DD528A #D0DD52 #52DDA5
split-complementary
#5F52DD #DDA552 #8ADD52
monochromatic
#291E97 #3728CA #5F52DD #8E85E7 #BEB8F1

Accessibility & contrast

On white

5.62
#5F52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5F52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F52DD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F52DD#FFFFFF#000000##FFFFFF
##5F52DD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0062DA
Tritanopia (blue-blind)
#167590
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f52dd;
/* rgb */ color: rgb(95, 82, 221);
/* oklch */ color: oklch(53.4% 0.204 281.2);
Tailwind
colors: {
  custom: {
    50: '#9883e9',
    500: '#5f52dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f52dd;
$custom-light: #9883e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f52dd",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 245.612,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.20366,
    "h": 281.2
  },
  "luminance": 0.13688
}

Semantic roles & 50–950 ramp

primary
#5F52DD
secondary
#DBE0AA
accent
#EA3EDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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