#5F5EEF#5F5EEF

#5F5EEF is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.8% C 0.212 H 277.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5F5EEF
RGBrgb(95, 94, 239)
HSLhsl(240, 82%, 65%)
HSVhsv(240, 61%, 94%)
CMYKcmyk(60.3%, 60.7%, 0%, 6.3%)
CIE-LABlab(47.84, 42.16, -73.06)
CIE-LCHlch(47.84, 84.35, 299.99°)
OKLaboklab(56.76% 0.0278 -0.2102)
OKLCHoklch(56.76% 0.212 277.5)
XYZxyz(24.2970, 16.6684, 83.5816)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5EEF #EEEF5E
analogous
#5EA5EF #5F5EEF #A85EEF
triadic
#5F5EEF #EF5F5E #5EEF5F
tetradic
#5F5EEF #EF5EA5 #EEEF5E #5EEFA8
square
#5F5EEF #EF5EA5 #EEEF5E #5EEFA8
split-complementary
#5F5EEF #EFA85E #A5EF5E
monochromatic
#1413C0 #2826E9 #5F5EEF #9696F5 #CECDFA

Accessibility & contrast

On white

4.85
#5F5EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5F5EEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5EEF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5EEF#FFFFFF#000000##FFFFFF
##5F5EEF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f5eef;
/* rgb */ color: rgb(95, 94, 239);
/* oklch */ color: oklch(56.8% 0.212 277.5);
Tailwind
colors: {
  custom: {
    50: '#9a8cf5',
    500: '#5f5eef',
    950: '#000000',
  },
}
SCSS
$custom: #5f5eef;
$custom-light: #9a8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5eef",
  "rgb": {
    "r": 95,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 240.414,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.21203,
    "h": 277.5
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#5F5EEF
secondary
#ECEDBC
accent
#DE07DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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