#5D59F8#5D59F8

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

Color values

HEX#5D59F8
RGBrgb(93, 89, 248)
HSLhsl(242, 92%, 66%)
HSVhsv(242, 64%, 97%)
CMYKcmyk(62.5%, 64.1%, 0%, 2.7%)
CIE-LABlab(47.30, 47.63, -78.98)
CIE-LCHlch(47.30, 92.23, 301.09°)
OKLaboklab(56.54% 0.0289 -0.2277)
OKLCHoklch(56.54% 0.23 277.2)
XYZxyz(25.0244, 16.2472, 90.6060)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59F8 #F4F859
analogous
#59A4F8 #5D59F8 #AC59F8
triadic
#5D59F8 #F85D59 #59F85D
tetradic
#5D59F8 #F859A4 #F4F859 #59F8AC
square
#5D59F8 #F859A4 #F4F859 #59F8AC
split-complementary
#5D59F8 #F8AC59 #A4F859
monochromatic
#0E09CE #241EF6 #5D59F8 #9694FA #D0CEFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D59F8#FFFFFF#000000##FFFFFF
##5D59F81.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)
#0077FD
Deuteranopia (green-blind)
#0069F5
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d59f8;
/* rgb */ color: rgb(93, 89, 248);
/* oklch */ color: oklch(56.5% 0.230 277.2);
Tailwind
colors: {
  custom: {
    50: '#9b89fc',
    500: '#5d59f8',
    950: '#000000',
  },
}
SCSS
$custom: #5d59f8;
$custom-light: #9b89fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59f8",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 248
  },
  "hsl": {
    "h": 241.509,
    "s": 91.908,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56542,
    "c": 0.22951,
    "h": 277.2
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#5D59F8
secondary
#EFF1BC
accent
#E600E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5D59F8

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

Preview Lab → · Contrast checker → · Palette generator →

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