#5F52FD#5F52FD

#5F52FD is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 56.0% C 0.243 H 278.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5F52FD
RGBrgb(95, 82, 253)
HSLhsl(245, 98%, 66%)
HSVhsv(245, 68%, 99%)
CMYKcmyk(62.5%, 67.6%, 0%, 0.8%)
CIE-LABlab(46.39, 53.40, -83.26)
CIE-LCHlch(46.39, 98.91, 302.68°)
OKLaboklab(56.05% 0.0359 -0.2401)
OKLCHoklch(56.05% 0.243 278.5)
XYZxyz(25.4605, 15.5573, 94.5706)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F52FD #F0FD52
analogous
#529BFD #5F52FD #B452FD
triadic
#5F52FD #FD5F52 #52FD5F
tetradic
#5F52FD #FD529B #F0FD52 #52FDB4
square
#5F52FD #FD529B #F0FD52 #52FDB4
split-complementary
#5F52FD #FDB452 #9BFD52
monochromatic
#1202D2 #2715FC #5F52FD #978EFE #CFCBFE

Accessibility & contrast

On white

5.11
#5F52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5F52FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F52FD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F52FD#FFFFFF#000000##FFFFFF
##5F52FD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0067FA
Tritanopia (blue-blind)
#0080A1
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f52fd;
/* rgb */ color: rgb(95, 82, 253);
/* oklch */ color: oklch(56.0% 0.243 278.5);
Tailwind
colors: {
  custom: {
    50: '#9d84ff',
    500: '#5f52fd',
    950: '#000000',
  },
}
SCSS
$custom: #5f52fd;
$custom-light: #9d84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f52fd",
  "rgb": {
    "r": 95,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 244.561,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.24282,
    "h": 278.5
  },
  "luminance": 0.15559
}

Semantic roles & 50–950 ramp

primary
#5F52FD
secondary
#EEF2B9
accent
#E600D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5F52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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