#5F59F6#5F59F6

#5F59F6 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.227 H 278.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5F59F6
RGBrgb(95, 89, 246)
HSLhsl(242, 90%, 66%)
HSVhsv(242, 64%, 96%)
CMYKcmyk(61.4%, 63.8%, 0%, 3.5%)
CIE-LABlab(47.27, 47.29, -77.90)
CIE-LCHlch(47.27, 91.13, 301.26°)
OKLaboklab(56.51% 0.0315 -0.2244)
OKLCHoklch(56.51% 0.227 278)
XYZxyz(24.9209, 16.2295, 88.9903)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59F6 #F0F659
analogous
#59A1F6 #5F59F6 #AD59F6
triadic
#5F59F6 #F65F59 #59F65F
tetradic
#5F59F6 #F659A1 #F0F659 #59F6AD
square
#5F59F6 #F659A1 #F0F659 #59F6AD
split-complementary
#5F59F6 #F6AD59 #A1F659
monochromatic
#120BCA #271FF3 #5F59F6 #9793F9 #CFCDFC

Accessibility & contrast

On white

4.95
#5F59F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5F59F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59F6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59F6#FFFFFF#000000##FFFFFF
##5F59F61.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006AF3
Tritanopia (blue-blind)
#0081A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f59f6;
/* rgb */ color: rgb(95, 89, 246);
/* oklch */ color: oklch(56.5% 0.227 278.0);
Tailwind
colors: {
  custom: {
    50: '#9b89fa',
    500: '#5f59f6',
    950: '#000000',
  },
}
SCSS
$custom: #5f59f6;
$custom-light: #9b89fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59f6",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 246
  },
  "hsl": {
    "h": 242.293,
    "s": 89.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56511,
    "c": 0.22664,
    "h": 278
  },
  "luminance": 0.16231
}

Semantic roles & 50–950 ramp

primary
#5F59F6
secondary
#EEF0BB
accent
#E600DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #5F59F6

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

Preview Lab → · Contrast checker → · Palette generator →

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