#5F5CED#5F5CED

#5F5CED is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.3% C 0.212 H 278.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5F5CED
RGBrgb(95, 92, 237)
HSLhsl(241, 80%, 65%)
HSVhsv(241, 61%, 93%)
CMYKcmyk(59.9%, 61.2%, 0%, 7.1%)
CIE-LABlab(47.24, 42.70, -72.92)
CIE-LCHlch(47.24, 84.50, 300.36°)
OKLaboklab(56.27% 0.0297 -0.2098)
OKLCHoklch(56.27% 0.212 278)
XYZxyz(23.8276, 16.1998, 81.9756)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5CED #EAED5C
analogous
#5CA2ED #5F5CED #A75CED
triadic
#5F5CED #ED5F5C #5CED5F
tetradic
#5F5CED #ED5CA2 #EAED5C #5CEDA7
square
#5F5CED #ED5CA2 #EAED5C #5CEDA7
split-complementary
#5F5CED #EDA75C #A2ED5C
monochromatic
#1815BA #2925E7 #5F5CED #9593F3 #CBCAF9

Accessibility & contrast

On white

4.95
#5F5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5F5CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5CED
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5CED#FFFFFF#000000##FFFFFF
##5F5CED1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f5ced;
/* rgb */ color: rgb(95, 92, 237);
/* oklch */ color: oklch(56.3% 0.212 278.0);
Tailwind
colors: {
  custom: {
    50: '#9a8af4',
    500: '#5f5ced',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ced;
$custom-light: #9a8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ced",
  "rgb": {
    "r": 95,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 241.241,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.21188,
    "h": 278
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#5F5CED
secondary
#EAEBB9
accent
#DC09D8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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