#5F5DE5#5F5DE5

#5F5DE5 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.8% C 0.200 H 278.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5F5DE5
RGBrgb(95, 93, 229)
HSLhsl(241, 72%, 63%)
HSVhsv(241, 59%, 90%)
CMYKcmyk(58.5%, 59.4%, 0%, 10.2%)
CIE-LABlab(46.87, 39.57, -69.01)
CIE-LCHlch(46.87, 79.55, 299.83°)
OKLaboklab(55.81% 0.0291 -0.1983)
OKLCHoklch(55.81% 0.2 278.3)
XYZxyz(22.7720, 15.9171, 75.9859)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5DE5 #E3E55D
analogous
#5D9FE5 #5F5DE5 #A35DE5
triadic
#5F5DE5 #E55F5D #5DE55F
tetradic
#5F5DE5 #E55D9F #E3E55D #5DE5A3
square
#5F5DE5 #E55D9F #E3E55D #5DE5A3
split-complementary
#5F5DE5 #E5A35D #9FE55D
monochromatic
#1E1CAC #2B28DD #5F5DE5 #9392ED #C7C6F6

Accessibility & contrast

On white

5.02
#5F5DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5F5DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5DE5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5DE5#FFFFFF#000000##FFFFFF
##5F5DE51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f5de5;
/* rgb */ color: rgb(95, 93, 229);
/* oklch */ color: oklch(55.8% 0.200 278.3);
Tailwind
colors: {
  custom: {
    50: '#988bee',
    500: '#5f5de5',
    950: '#000000',
  },
}
SCSS
$custom: #5f5de5;
$custom-light: #988bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5de5",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 240.882,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.20044,
    "h": 278.3
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#5F5DE5
secondary
#E7E7B7
accent
#D411D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5F5DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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