#5B59FA#5B59FA

#5B59FA is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.6% C 0.232 H 276.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5B59FA
RGBrgb(91, 89, 250)
HSLhsl(241, 94%, 66%)
HSVhsv(241, 64%, 98%)
CMYKcmyk(63.6%, 64.4%, 0%, 2%)
CIE-LABlab(47.33, 47.99, -80.06)
CIE-LCHlch(47.33, 93.34, 300.94°)
OKLaboklab(56.58% 0.0264 -0.2309)
OKLCHoklch(56.58% 0.232 276.5)
XYZxyz(25.1365, 16.2689, 92.2395)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59FA #F8FA59
analogous
#59A8FA #5B59FA #AC59FA
triadic
#5B59FA #FA5B59 #59FA5B
tetradic
#5B59FA #FA59A8 #F8FA59 #59FAAC
square
#5B59FA #FA59A8 #F8FA59 #59FAAC
split-complementary
#5B59FA #FAAC59 #A8FA59
monochromatic
#0906D2 #201EF8 #5B59FA #9694FC #D0D0FE

Accessibility & contrast

On white

4.94
#5B59FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B59FA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59FA#FFFFFF#000000##FFFFFF
##5B59FA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0069F7
Tritanopia (blue-blind)
#0083A2
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5b59fa;
/* rgb */ color: rgb(91, 89, 250);
/* oklch */ color: oklch(56.6% 0.232 276.5);
Tailwind
colors: {
  custom: {
    50: '#9a89fd',
    500: '#5b59fa',
    950: '#000000',
  },
}
SCSS
$custom: #5b59fa;
$custom-light: #9a89fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59fa",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 250
  },
  "hsl": {
    "h": 240.745,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.2324,
    "h": 276.5
  },
  "luminance": 0.16271
}

Semantic roles & 50–950 ramp

primary
#5B59FA
secondary
#F1F1BD
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5B59FA

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

Preview Lab → · Contrast checker → · Palette generator →

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