#5F5FF4#5F5FF4

#5F5FF4 is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.3% C 0.217 H 277.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5F5FF4
RGBrgb(95, 95, 244)
HSLhsl(240, 87%, 66%)
HSVhsv(240, 61%, 96%)
CMYKcmyk(61.1%, 61.1%, 0%, 4.3%)
CIE-LABlab(48.44, 43.16, -74.87)
CIE-LCHlch(48.44, 86.42, 299.96°)
OKLaboklab(57.32% 0.0267 -0.2155)
OKLCHoklch(57.32% 0.217 277.1)
XYZxyz(25.1354, 17.1470, 87.5555)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5FF4 #F4F45F
analogous
#5FAAF4 #5F5FF4 #AA5FF4
triadic
#5F5FF4 #F45F5F #5FF45F
tetradic
#5F5FF4 #F45FAA #F4F45F #5FF4AA
square
#5F5FF4 #F45FAA #F4F45F #5FF4AA
split-complementary
#5F5FF4 #F4AA5F #AAF45F
monochromatic
#0E0ECB #2626F0 #5F5FF4 #9898F8 #D2D2FC

Accessibility & contrast

On white

4.74
#5F5FF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5F5FF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5FF4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5FF4#FFFFFF#000000##FFFFFF
##5F5FF41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#0084A1
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f5ff4;
/* rgb */ color: rgb(95, 95, 244);
/* oklch */ color: oklch(57.3% 0.217 277.1);
Tailwind
colors: {
  custom: {
    50: '#9b8df9',
    500: '#5f5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ff4;
$custom-light: #9b8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ff4",
  "rgb": {
    "r": 95,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 240,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57318,
    "c": 0.21718,
    "h": 277.1
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#5F5FF4
secondary
#F0F0BF
accent
#E402E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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