#5F52DF#5F52DF

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

Color values

HEX#5F52DF
RGBrgb(95, 82, 223)
HSLhsl(246, 69%, 60%)
HSVhsv(246, 63%, 87%)
CMYKcmyk(57.4%, 63.2%, 0%, 12.5%)
CIE-LABlab(43.94, 44.18, -70.38)
CIE-LCHlch(43.94, 83.09, 302.12°)
OKLaboklab(53.52% 0.0394 -0.2024)
OKLCHoklch(53.52% 0.206 281)
XYZxyz(21.0517, 13.7938, 71.3509)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F52DF #D2DF52
analogous
#528CDF #5F52DF #A652DF
triadic
#5F52DF #DF5F52 #52DF5F
tetradic
#5F52DF #DF528C #D2DF52 #52DFA6
square
#5F52DF #DF528C #D2DF52 #52DFA6
split-complementary
#5F52DF #DFA652 #8CDF52
monochromatic
#281D9A #3626CE #5F52DF #8F86E9 #BFB9F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F52DF#FFFFFF#000000##FFFFFF
##5F52DF1.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)
#006DE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#107591
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f52df;
/* rgb */ color: rgb(95, 82, 223);
/* oklch */ color: oklch(53.5% 0.206 281.0);
Tailwind
colors: {
  custom: {
    50: '#9883ea',
    500: '#5f52df',
    950: '#000000',
  },
}
SCSS
$custom: #5f52df;
$custom-light: #9883ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f52df",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 245.532,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.20618,
    "h": 281
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#5F52DF
secondary
#DDE2AB
accent
#EC3CDB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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