#5F59FA#5F59FA

#5F59FA is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.8% C 0.232 H 277.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5F59FA
RGBrgb(95, 89, 250)
HSLhsl(242, 94%, 66%)
HSVhsv(242, 64%, 98%)
CMYKcmyk(62%, 64.4%, 0%, 2%)
CIE-LABlab(47.60, 48.54, -79.61)
CIE-LCHlch(47.60, 93.24, 301.37°)
OKLaboklab(56.84% 0.0311 -0.2294)
OKLCHoklch(56.84% 0.232 277.7)
XYZxyz(25.5414, 16.4777, 92.2585)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59FA #F4FA59
analogous
#59A4FA #5F59FA #B059FA
triadic
#5F59FA #FA5F59 #59FA5F
tetradic
#5F59FA #FA59A4 #F4FA59 #59FAB0
square
#5F59FA #FA59A4 #F4FA59 #59FAB0
split-complementary
#5F59FA #FAB059 #A4FA59
monochromatic
#0E06D2 #261EF8 #5F59FA #9894FC #D2D0FE

Accessibility & contrast

On white

4.89
#5F59FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5F59FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59FA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59FA#FFFFFF#000000##FFFFFF
##5F59FA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006AF7
Tritanopia (blue-blind)
#0083A2
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f59fa;
/* rgb */ color: rgb(95, 89, 250);
/* oklch */ color: oklch(56.8% 0.232 277.7);
Tailwind
colors: {
  custom: {
    50: '#9c89fd',
    500: '#5f59fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f59fa;
$custom-light: #9c89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59fa",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 250
  },
  "hsl": {
    "h": 242.236,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.23155,
    "h": 277.7
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#5F59FA
secondary
#F0F1BD
accent
#E600DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5F59FA

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

Preview Lab → · Contrast checker → · Palette generator →

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