#5759CB#5759CB

#5759CB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.173 H 277.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5759CB
RGBrgb(87, 89, 203)
HSLhsl(239, 53%, 57%)
HSVhsv(239, 57%, 80%)
CMYKcmyk(57.1%, 56.2%, 0%, 20.4%)
CIE-LABlab(43.48, 32.23, -59.69)
CIE-LCHlch(43.48, 67.84, 298.36°)
OKLaboklab(52.57% 0.0237 -0.1712)
OKLCHoklch(52.57% 0.173 277.9)
XYZxyz(18.2789, 13.4815, 58.1273)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5759CB #CBC957
analogous
#5793CB #5759CB #8F57CB
triadic
#5759CB #CB5759 #59CB57
tetradic
#5759CB #CB5793 #CBC957 #57CB8F
square
#5759CB #CB5793 #CBC957 #57CB8F
split-complementary
#5759CB #CB8F57 #93CB57
monochromatic
#282980 #3638AF #5759CB #8687D9 #B4B5E8

Accessibility & contrast

On white

5.68
#5759CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5759CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5759CB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5759CB#FFFFFF#000000##FFFFFF
##5759CB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#107489
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5759cb;
/* rgb */ color: rgb(87, 89, 203);
/* oklch */ color: oklch(52.6% 0.173 277.9);
Tailwind
colors: {
  custom: {
    50: '#9088dc',
    500: '#5759cb',
    950: '#000000',
  },
}
SCSS
$custom: #5759cb;
$custom-light: #9088dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5759cb",
  "rgb": {
    "r": 87,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 238.966,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.1728,
    "h": 277.9
  },
  "luminance": 0.13483
}

Semantic roles & 50–950 ramp

primary
#5759CB
secondary
#D7D6A7
accent
#DA4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5759CB

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

Preview Lab → · Contrast checker → · Palette generator →

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