#5F5DF3#5F5DF3

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

Color values

HEX#5F5DF3
RGBrgb(95, 93, 243)
HSLhsl(241, 86%, 66%)
HSVhsv(241, 62%, 95%)
CMYKcmyk(60.9%, 61.7%, 0%, 4.7%)
CIE-LABlab(47.92, 44.02, -75.17)
CIE-LCHlch(47.92, 87.11, 300.35°)
OKLaboklab(56.91% 0.0285 -0.2164)
OKLCHoklch(56.91% 0.218 277.5)
XYZxyz(24.8061, 16.7307, 86.6988)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5DF3 #F1F35D
analogous
#5DA6F3 #5F5DF3 #AA5DF3
triadic
#5F5DF3 #F35F5D #5DF35F
tetradic
#5F5DF3 #F35DA6 #F1F35D #5DF3AA
square
#5F5DF3 #F35DA6 #F1F35D #5DF3AA
split-complementary
#5F5DF3 #F3AA5D #A6F35D
monochromatic
#110FC7 #2724EF #5F5DF3 #9796F7 #D0CFFB

Accessibility & contrast

On white

4.83
#5F5DF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5F5DF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5DF3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5DF3#FFFFFF#000000##FFFFFF
##5F5DF31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006BF0
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f5df3;
/* rgb */ color: rgb(95, 93, 243);
/* oklch */ color: oklch(56.9% 0.218 277.5);
Tailwind
colors: {
  custom: {
    50: '#9b8bf8',
    500: '#5f5df3',
    950: '#000000',
  },
}
SCSS
$custom: #5f5df3;
$custom-light: #9b8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5df3",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 240.8,
    "s": 86.207,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.21827,
    "h": 277.5
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#5F5DF3
secondary
#EEEFBD
accent
#E303E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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