#5759AF#5759AF

#5759AF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.134 H 279.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5759AF
RGBrgb(87, 89, 175)
HSLhsl(239, 35%, 51%)
HSVhsv(239, 50%, 69%)
CMYKcmyk(50.3%, 49.1%, 0%, 31.4%)
CIE-LABlab(41.63, 23.20, -46.35)
CIE-LCHlch(41.63, 51.83, 296.59°)
OKLaboklab(50.59% 0.022 -0.1319)
OKLCHoklch(50.59% 0.134 279.5)
XYZxyz(15.2383, 12.2653, 42.1136)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759AF #AFAD57
analogous
#5785AF #5759AF #8157AF
triadic
#5759AF #AF5759 #59AF57
tetradic
#5759AF #AF5785 #AFAD57 #57AF81
square
#5759AF #AF5785 #AFAD57 #57AF81
split-complementary
#5759AF #AF8157 #85AF57
monochromatic
#2D2E5F #414288 #5759AF #8082C3 #AAABD6

Accessibility & contrast

On white

6.08
#5759AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5759AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759AF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759AF#FFFFFF#000000##FFFFFF
##5759AF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#356C7B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5759af;
/* rgb */ color: rgb(87, 89, 175);
/* oklch */ color: oklch(50.6% 0.134 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c87c7',
    500: '#5759af',
    950: '#000000',
  },
}
SCSS
$custom: #5759af;
$custom-light: #8c87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5759af",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 175
  },
  "hsl": {
    "h": 238.636,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.13375,
    "h": 279.5
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#5759AF
secondary
#C4C39E
accent
#C95CCC
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0D0B13
muted
#7D7C82

Preview Lab

Preview with #5759AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5759AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva