#5F5FF3#5F5FF3

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

Color values

HEX#5F5FF3
RGBrgb(95, 95, 243)
HSLhsl(240, 86%, 66%)
HSVhsv(240, 61%, 95%)
CMYKcmyk(60.9%, 60.9%, 0%, 4.7%)
CIE-LABlab(48.37, 42.84, -74.44)
CIE-LCHlch(48.37, 85.88, 299.92°)
OKLaboklab(57.24% 0.0268 -0.2142)
OKLCHoklch(57.24% 0.216 277.1)
XYZxyz(24.9840, 17.0864, 86.7581)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5FF3 #F3F35F
analogous
#5FA9F3 #5F5FF3 #A95FF3
triadic
#5F5FF3 #F35F5F #5FF35F
tetradic
#5F5FF3 #F35FA9 #F3F35F #5FF3A9
square
#5F5FF3 #F35FA9 #F3F35F #5FF3A9
split-complementary
#5F5FF3 #F3A95F #A9F35F
monochromatic
#0F0FC9 #2626EF #5F5FF3 #9898F7 #D1D1FC

Accessibility & contrast

On white

4.75
#5F5FF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5F5FF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5FF3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5FF3#FFFFFF#000000##FFFFFF
##5F5FF31.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F8
Deuteranopia (green-blind)
#006DF0
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f5ff3;
/* rgb */ color: rgb(95, 95, 243);
/* oklch */ color: oklch(57.2% 0.216 277.1);
Tailwind
colors: {
  custom: {
    50: '#9b8df8',
    500: '#5f5ff3',
    950: '#000000',
  },
}
SCSS
$custom: #5f5ff3;
$custom-light: #9b8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5ff3",
  "rgb": {
    "r": 95,
    "g": 95,
    "b": 243
  },
  "hsl": {
    "h": 240,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.21592,
    "h": 277.1
  },
  "luminance": 0.17088
}

Semantic roles & 50–950 ramp

primary
#5F5FF3
secondary
#EFEFBF
accent
#E303E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F5FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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