#5F5DF4#5F5DF4

#5F5DF4 is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.0% C 0.220 H 277.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5F5DF4
RGBrgb(95, 93, 244)
HSLhsl(241, 87%, 66%)
HSVhsv(241, 62%, 96%)
CMYKcmyk(61.1%, 61.9%, 0%, 4.3%)
CIE-LABlab(48.00, 44.33, -75.60)
CIE-LCHlch(48.00, 87.64, 300.39°)
OKLaboklab(56.99% 0.0284 -0.2177)
OKLCHoklch(56.99% 0.22 277.4)
XYZxyz(24.9575, 16.7913, 87.4963)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5DF4 #F2F45D
analogous
#5DA6F4 #5F5DF4 #AA5DF4
triadic
#5F5DF4 #F45F5D #5DF45F
tetradic
#5F5DF4 #F45DA6 #F2F45D #5DF4AA
square
#5F5DF4 #F45DA6 #F2F45D #5DF4AA
split-complementary
#5F5DF4 #F4AA5D #A6F45D
monochromatic
#100EC9 #2624F0 #5F5DF4 #9896F8 #D0D0FC

Accessibility & contrast

On white

4.82
#5F5DF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5F5DF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5DF4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5DF4#FFFFFF#000000##FFFFFF
##5F5DF41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f5df4;
/* rgb */ color: rgb(95, 93, 244);
/* oklch */ color: oklch(57.0% 0.220 277.4);
Tailwind
colors: {
  custom: {
    50: '#9b8bf9',
    500: '#5f5df4',
    950: '#000000',
  },
}
SCSS
$custom: #5f5df4;
$custom-light: #9b8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5df4",
  "rgb": {
    "r": 95,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 240.795,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.21953,
    "h": 277.4
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#5F5DF4
secondary
#EFEFBE
accent
#E402E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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