#5F5CEE#5F5CEE

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

Color values

HEX#5F5CEE
RGBrgb(95, 92, 238)
HSLhsl(241, 81%, 65%)
HSVhsv(241, 61%, 93%)
CMYKcmyk(60.1%, 61.3%, 0%, 6.7%)
CIE-LABlab(47.31, 43.02, -73.36)
CIE-LCHlch(47.31, 85.04, 300.39°)
OKLaboklab(56.35% 0.0296 -0.2111)
OKLCHoklch(56.35% 0.213 278)
XYZxyz(23.9741, 16.2584, 82.7472)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5CEE #EBEE5C
analogous
#5CA2EE #5F5CEE #A85CEE
triadic
#5F5CEE #EE5F5C #5CEE5F
tetradic
#5F5CEE #EE5CA2 #EBEE5C #5CEEA8
square
#5F5CEE #EE5CA2 #EBEE5C #5CEEA8
split-complementary
#5F5CEE #EEA85C #A2EE5C
monochromatic
#1714BC #2925E8 #5F5CEE #9593F4 #CCCBFA

Accessibility & contrast

On white

4.94
#5F5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5F5CEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5CEE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5CEE#FFFFFF#000000##FFFFFF
##5F5CEE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f5cee;
/* rgb */ color: rgb(95, 92, 238);
/* oklch */ color: oklch(56.3% 0.213 278.0);
Tailwind
colors: {
  custom: {
    50: '#9a8af5',
    500: '#5f5cee',
    950: '#000000',
  },
}
SCSS
$custom: #5f5cee;
$custom-light: #9a8af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5cee",
  "rgb": {
    "r": 95,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 241.233,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.21315,
    "h": 278
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#5F5CEE
secondary
#EBECBA
accent
#DD08D9
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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