#5F5EED#5F5EED

#5F5EED is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.6% C 0.209 H 277.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F5EED
RGBrgb(95, 94, 237)
HSLhsl(240, 80%, 65%)
HSVhsv(240, 60%, 93%)
CMYKcmyk(59.9%, 60.3%, 0%, 7.1%)
CIE-LABlab(47.69, 41.52, -72.18)
CIE-LCHlch(47.69, 83.27, 299.91°)
OKLaboklab(56.6% 0.0279 -0.2076)
OKLCHoklch(56.6% 0.209 277.7)
XYZxyz(24.0032, 16.5509, 82.0341)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5EED #ECED5E
analogous
#5EA4ED #5F5EED #A75EED
triadic
#5F5EED #ED5F5E #5EED5F
tetradic
#5F5EED #ED5EA4 #ECED5E #5EEDA7
square
#5F5EED #ED5EA4 #ECED5E #5EEDA7
split-complementary
#5F5EED #EDA75E #A4ED5E
monochromatic
#1615BC #2827E7 #5F5EED #9695F3 #CCCCF9

Accessibility & contrast

On white

4.87
#5F5EED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5F5EED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5EED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5EED#FFFFFF#000000##FFFFFF
##5F5EED1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#006BEA
Tritanopia (blue-blind)
#00819D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f5eed;
/* rgb */ color: rgb(95, 94, 237);
/* oklch */ color: oklch(56.6% 0.209 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a8cf4',
    500: '#5f5eed',
    950: '#000000',
  },
}
SCSS
$custom: #5f5eed;
$custom-light: #9a8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5eed",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 237
  },
  "hsl": {
    "h": 240.42,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.20949,
    "h": 277.7
  },
  "luminance": 0.16553
}

Semantic roles & 50–950 ramp

primary
#5F5EED
secondary
#EBECBB
accent
#DC09DB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5EED

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

Preview Lab → · Contrast checker → · Palette generator →

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