#5859CA#5859CA

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

Color values

HEX#5859CA
RGBrgb(88, 89, 202)
HSLhsl(239, 52%, 57%)
HSVhsv(239, 56%, 79%)
CMYKcmyk(56.4%, 55.9%, 0%, 20.8%)
CIE-LABlab(43.48, 32.09, -59.11)
CIE-LCHlch(43.48, 67.26, 298.50°)
OKLaboklab(52.56% 0.0249 -0.1694)
OKLCHoklch(52.56% 0.171 278.4)
XYZxyz(18.2542, 13.4825, 57.5061)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5859CA #CAC958
analogous
#5892CA #5859CA #9058CA
triadic
#5859CA #CA5859 #59CA58
tetradic
#5859CA #CA5892 #CAC958 #58CA90
square
#5859CA #CA5892 #CAC958 #58CA90
split-complementary
#5859CA #CA9058 #92CA58
monochromatic
#28297F #3738AE #5859CA #8687D9 #B5B5E7

Accessibility & contrast

On white

5.68
#5859CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5859CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5859CA
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5859CA#FFFFFF#000000##FFFFFF
##5859CA1.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)
#006BCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#187389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5859ca;
/* rgb */ color: rgb(88, 89, 202);
/* oklch */ color: oklch(52.6% 0.171 278.4);
Tailwind
colors: {
  custom: {
    50: '#9188db',
    500: '#5859ca',
    950: '#000000',
  },
}
SCSS
$custom: #5859ca;
$custom-light: #9188db;
$custom-dark: #000000;
JSON
{
  "hex": "#5859ca",
  "rgb": {
    "r": 88,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 239.474,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.17124,
    "h": 278.4
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#5859CA
secondary
#D6D6A8
accent
#DA4DDB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5859CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5859CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva