#5F50DF#5F50DF

#5F50DF is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.209 H 281.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5F50DF
RGBrgb(95, 80, 223)
HSLhsl(246, 69%, 59%)
HSVhsv(246, 64%, 87%)
CMYKcmyk(57.4%, 64.1%, 0%, 12.5%)
CIE-LABlab(43.50, 45.33, -71.09)
CIE-LCHlch(43.50, 84.31, 302.53°)
OKLaboklab(53.2% 0.0411 -0.2045)
OKLCHoklch(53.2% 0.209 281.4)
XYZxyz(20.9031, 13.4965, 71.3013)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50DF #D0DF50
analogous
#5089DF #5F50DF #A750DF
triadic
#5F50DF #DF5F50 #50DF5F
tetradic
#5F50DF #DF5089 #D0DF50 #50DFA7
square
#5F50DF #DF5089 #D0DF50 #50DFA7
split-complementary
#5F50DF #DFA750 #89DF50
monochromatic
#291C99 #3725CC #5F50DF #8E84E8 #BEB7F2

Accessibility & contrast

On white

5.68
#5F50DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5F50DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50DF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50DF#FFFFFF#000000##FFFFFF
##5F50DF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#117490
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f50df;
/* rgb */ color: rgb(95, 80, 223);
/* oklch */ color: oklch(53.2% 0.209 281.4);
Tailwind
colors: {
  custom: {
    50: '#9882ea',
    500: '#5f50df',
    950: '#000000',
  },
}
SCSS
$custom: #5f50df;
$custom-light: #9882ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50df",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 223
  },
  "hsl": {
    "h": 246.294,
    "s": 69.082,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.20857,
    "h": 281.4
  },
  "luminance": 0.13498
}

Semantic roles & 50–950 ramp

primary
#5F50DF
secondary
#DBE1AA
accent
#EC3CD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F50DF

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

Preview Lab → · Contrast checker → · Palette generator →

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