#5F5CF4#5F5CF4

#5F5CF4 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.221 H 277.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5F5CF4
RGBrgb(95, 92, 244)
HSLhsl(241, 87%, 66%)
HSVhsv(241, 62%, 96%)
CMYKcmyk(61.1%, 62.3%, 0%, 4.3%)
CIE-LABlab(47.77, 44.92, -75.97)
CIE-LCHlch(47.77, 88.25, 300.60°)
OKLaboklab(56.83% 0.0292 -0.2188)
OKLCHoklch(56.83% 0.221 277.6)
XYZxyz(24.8703, 16.6169, 87.4672)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5CF4 #F1F45C
analogous
#5CA5F4 #5F5CF4 #AB5CF4
triadic
#5F5CF4 #F45F5C #5CF45F
tetradic
#5F5CF4 #F45CA5 #F1F45C #5CF4AB
square
#5F5CF4 #F45CA5 #F1F45C #5CF4AB
split-complementary
#5F5CF4 #F4AB5C #A5F45C
monochromatic
#110EC8 #2723F0 #5F5CF4 #9795F8 #D0CFFC

Accessibility & contrast

On white

4.86
#5F5CF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5F5CF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5CF4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5CF4#FFFFFF#000000##FFFFFF
##5F5CF41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f5cf4;
/* rgb */ color: rgb(95, 92, 244);
/* oklch */ color: oklch(56.8% 0.221 277.6);
Tailwind
colors: {
  custom: {
    50: '#9b8bf9',
    500: '#5f5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #5f5cf4;
$custom-light: #9b8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5cf4",
  "rgb": {
    "r": 95,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 241.184,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56827,
    "c": 0.2207,
    "h": 277.6
  },
  "luminance": 0.16619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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