#5F5EE7#5F5EE7

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

Color values

HEX#5F5EE7
RGBrgb(95, 94, 231)
HSLhsl(240, 74%, 64%)
HSVhsv(240, 59%, 91%)
CMYKcmyk(58.9%, 59.3%, 0%, 9.4%)
CIE-LABlab(47.24, 39.61, -69.53)
CIE-LCHlch(47.24, 80.02, 299.67°)
OKLaboklab(56.13% 0.0281 -0.1998)
OKLCHoklch(56.13% 0.202 278)
XYZxyz(23.1412, 16.2061, 77.4945)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5EE7 #E6E75E
analogous
#5EA1E7 #5F5EE7 #A35EE7
triadic
#5F5EE7 #E75F5E #5EE75F
tetradic
#5F5EE7 #E75EA1 #E6E75E #5EE7A3
square
#5F5EE7 #E75EA1 #E6E75E #5EE7A3
split-complementary
#5F5EE7 #E7A35E #A1E75E
monochromatic
#1B1AB0 #2A29DF #5F5EE7 #9493EF #C9C9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5EE7#FFFFFF#000000##FFFFFF
##5F5EE71.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)
#0076EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f5ee7;
/* rgb */ color: rgb(95, 94, 231);
/* oklch */ color: oklch(56.1% 0.202 278.0);
Tailwind
colors: {
  custom: {
    50: '#998cf0',
    500: '#5f5ee7',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ee7;
$custom-light: #998cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ee7",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 240.438,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.20179,
    "h": 278
  },
  "luminance": 0.16208
}

Semantic roles & 50–950 ramp

primary
#5F5EE7
secondary
#E8E9B8
accent
#D60FD5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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