#5F5DEB#5F5DEB

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

Color values

HEX#5F5DEB
RGBrgb(95, 93, 235)
HSLhsl(241, 78%, 64%)
HSVhsv(241, 60%, 92%)
CMYKcmyk(59.6%, 60.4%, 0%, 7.8%)
CIE-LABlab(47.31, 41.48, -71.67)
CIE-LCHlch(47.31, 82.81, 300.06°)
OKLaboklab(56.27% 0.0289 -0.2061)
OKLCHoklch(56.27% 0.208 278)
XYZxyz(23.6243, 16.2580, 80.4743)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5DEB #E9EB5D
analogous
#5DA2EB #5F5DEB #A65DEB
triadic
#5F5DEB #EB5F5D #5DEB5F
tetradic
#5F5DEB #EB5DA2 #E9EB5D #5DEBA6
square
#5F5DEB #EB5DA2 #E9EB5D #5DEBA6
split-complementary
#5F5DEB #EBA65D #A2EB5D
monochromatic
#1917B7 #2927E4 #5F5DEB #9593F2 #CBCAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5DEB#FFFFFF#000000##FFFFFF
##5F5DEB1.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)
#0076F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f5deb;
/* rgb */ color: rgb(95, 93, 235);
/* oklch */ color: oklch(56.3% 0.208 278.0);
Tailwind
colors: {
  custom: {
    50: '#998bf2',
    500: '#5f5deb',
    950: '#000000',
  },
}
SCSS
$custom: #5f5deb;
$custom-light: #998bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5deb",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 240.845,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.20814,
    "h": 278
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#5F5DEB
secondary
#EAEBB9
accent
#DA0BD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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