#5A59FE#5A59FE

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

Color values

HEX#5A59FE
RGBrgb(90, 89, 254)
HSLhsl(240, 99%, 67%)
HSVhsv(240, 65%, 100%)
CMYKcmyk(64.6%, 65%, 0%, 0.4%)
CIE-LABlab(47.59, 49.12, -81.86)
CIE-LCHlch(47.59, 95.47, 300.97°)
OKLaboklab(56.85% 0.0249 -0.2362)
OKLCHoklch(56.85% 0.238 276)
XYZxyz(25.6724, 16.4720, 95.5732)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A59FE #FDFE59
analogous
#59AAFE #5A59FE #AD59FE
triadic
#5A59FE #FE5A59 #59FE5A
tetradic
#5A59FE #FE59AA #FDFE59 #59FEAD
square
#5A59FE #FE59AA #FDFE59 #59FEAD
split-complementary
#5A59FE #FEAD59 #AAFE59
monochromatic
#0301DB #1E1CFE #5A59FE #9696FE #D3D3FF

Accessibility & contrast

On white

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

On black

4.29
#5A59FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5A59FE#FFFFFF#000000##FFFFFF
##5A59FE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006AFB
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a59fe;
/* rgb */ color: rgb(90, 89, 254);
/* oklch */ color: oklch(56.9% 0.237 276.0);
Tailwind
colors: {
  custom: {
    50: '#9a89ff',
    500: '#5a59fe',
    950: '#000000',
  },
}
SCSS
$custom: #5a59fe;
$custom-light: #9a89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a59fe",
  "rgb": {
    "r": 90,
    "g": 89,
    "b": 254
  },
  "hsl": {
    "h": 240.364,
    "s": 98.802,
    "l": 67.255
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.2375,
    "h": 276
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#5A59FE
secondary
#F3F3BF
accent
#E600E4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5A59FE

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

Preview Lab → · Contrast checker → · Palette generator →

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