#5F5AED#5F5AED

#5F5AED is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.9% C 0.214 H 278.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5F5AED
RGBrgb(95, 90, 237)
HSLhsl(242, 80%, 64%)
HSVhsv(242, 62%, 93%)
CMYKcmyk(59.9%, 62%, 0%, 7.1%)
CIE-LABlab(46.79, 43.88, -73.65)
CIE-LCHlch(46.79, 85.73, 300.79°)
OKLaboklab(55.94% 0.0314 -0.212)
OKLCHoklch(55.94% 0.214 278.4)
XYZxyz(23.6566, 15.8579, 81.9186)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5AED #E8ED5A
analogous
#5A9FED #5F5AED #A95AED
triadic
#5F5AED #ED5F5A #5AED5F
tetradic
#5F5AED #ED5A9F #E8ED5A #5AEDA9
square
#5F5AED #ED5A9F #E8ED5A #5AEDA9
split-complementary
#5F5AED #EDA95A #9FED5A
monochromatic
#1A14B8 #2923E7 #5F5AED #9591F3 #CAC8F9

Accessibility & contrast

On white

5.03
#5F5AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5F5AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5AED
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5AED#FFFFFF#000000##FFFFFF
##5F5AED1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f5aed;
/* rgb */ color: rgb(95, 90, 237);
/* oklch */ color: oklch(55.9% 0.214 278.4);
Tailwind
colors: {
  custom: {
    50: '#9a89f4',
    500: '#5f5aed',
    950: '#000000',
  },
}
SCSS
$custom: #5f5aed;
$custom-light: #9a89f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5aed",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 242.041,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55937,
    "c": 0.21427,
    "h": 278.4
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#5F5AED
secondary
#E9EBB8
accent
#DD09D5
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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