#5F52DE#5F52DE

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

Color values

HEX#5F52DE
RGBrgb(95, 82, 222)
HSLhsl(246, 68%, 60%)
HSVhsv(246, 63%, 87%)
CMYKcmyk(57.2%, 63.1%, 0%, 12.9%)
CIE-LABlab(43.86, 43.87, -69.94)
CIE-LCHlch(43.86, 82.56, 302.10°)
OKLaboklab(53.44% 0.0394 -0.2011)
OKLCHoklch(53.44% 0.205 281.1)
XYZxyz(20.9173, 13.7400, 70.6429)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F52DE #D1DE52
analogous
#528BDE #5F52DE #A552DE
triadic
#5F52DE #DE5F52 #52DE5F
tetradic
#5F52DE #DE528B #D1DE52 #52DEA5
square
#5F52DE #DE528B #D1DE52 #52DEA5
split-complementary
#5F52DE #DEA552 #8BDE52
monochromatic
#291D99 #3627CC #5F52DE #8F85E8 #BEB9F2

Accessibility & contrast

On white

5.60
#5F52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5F52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F52DE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F52DE#FFFFFF#000000##FFFFFF
##5F52DE1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#137590
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f52de;
/* rgb */ color: rgb(95, 82, 222);
/* oklch */ color: oklch(53.4% 0.205 281.1);
Tailwind
colors: {
  custom: {
    50: '#9883e9',
    500: '#5f52de',
    950: '#000000',
  },
}
SCSS
$custom: #5f52de;
$custom-light: #9883e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f52de",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 245.571,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.20493,
    "h": 281.1
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#5F52DE
secondary
#DCE1AB
accent
#EB3DDB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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