#5759CD#5759CD

#5759CD is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.175 H 277.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5759CD
RGBrgb(87, 89, 205)
HSLhsl(239, 54%, 57%)
HSVhsv(239, 58%, 80%)
CMYKcmyk(57.6%, 56.6%, 0%, 19.6%)
CIE-LABlab(43.62, 32.88, -60.62)
CIE-LCHlch(43.62, 68.96, 298.48°)
OKLaboklab(52.71% 0.0238 -0.1739)
OKLCHoklch(52.71% 0.175 277.8)
XYZxyz(18.5188, 13.5775, 59.3906)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759CD #CDCB57
analogous
#5794CD #5759CD #9057CD
triadic
#5759CD #CD5759 #59CD57
tetradic
#5759CD #CD5794 #CDCB57 #57CD90
square
#5759CD #CD5794 #CDCB57 #57CD90
split-complementary
#5759CD #CD9057 #94CD57
monochromatic
#272883 #3537B2 #5759CD #8688DB #B5B6E9

Accessibility & contrast

On white

5.65
#5759CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5759CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759CD
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759CD#FFFFFF#000000##FFFFFF
##5759CD1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#09748A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5759cd;
/* rgb */ color: rgb(87, 89, 205);
/* oklch */ color: oklch(52.7% 0.175 277.8);
Tailwind
colors: {
  custom: {
    50: '#9188dd',
    500: '#5759cd',
    950: '#000000',
  },
}
SCSS
$custom: #5759cd;
$custom-light: #9188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5759cd",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 238.983,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52714,
    "c": 0.17549,
    "h": 277.8
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#5759CD
secondary
#D8D7A8
accent
#DB4ADD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5759CD

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

Preview Lab → · Contrast checker → · Palette generator →

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