#5B59AF#5B59AF

#5B59AF is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.133 H 281.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5B59AF
RGBrgb(91, 89, 175)
HSLhsl(241, 35%, 52%)
HSVhsv(241, 49%, 69%)
CMYKcmyk(48%, 49.1%, 0%, 31.4%)
CIE-LABlab(41.94, 24.13, -45.84)
CIE-LCHlch(41.94, 51.80, 297.77°)
OKLaboklab(50.9% 0.0268 -0.1303)
OKLCHoklch(50.9% 0.133 281.6)
XYZxyz(15.6223, 12.4633, 42.1316)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B59AF #ADAF59
analogous
#5982AF #5B59AF #8659AF
triadic
#5B59AF #AF5B59 #59AF5B
tetradic
#5B59AF #AF5982 #ADAF59 #59AF86
square
#5B59AF #AF5982 #ADAF59 #59AF86
split-complementary
#5B59AF #AF8659 #82AF59
monochromatic
#2F2E60 #444289 #5B59AF #8482C3 #ADACD7

Accessibility & contrast

On white

6.01
#5B59AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5B59AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B59AF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B59AF#FFFFFF#000000##FFFFFF
##5B59AF1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3366B2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#3D6B7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b59af;
/* rgb */ color: rgb(91, 89, 175);
/* oklch */ color: oklch(50.9% 0.133 281.6);
Tailwind
colors: {
  custom: {
    50: '#8f88c7',
    500: '#5b59af',
    950: '#000000',
  },
}
SCSS
$custom: #5b59af;
$custom-light: #8f88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b59af",
  "rgb": {
    "r": 91,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 241.395,
    "s": 34.959,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.13304,
    "h": 281.6
  },
  "luminance": 0.12464
}

Semantic roles & 50–950 ramp

primary
#5B59AF
secondary
#C4C59F
accent
#CB5DC8
background
#F9F8FC
surface
#F1EFF8
border
#CBCAD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5B59AF

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

Preview Lab → · Contrast checker → · Palette generator →

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