#5F59CA#5F59CA

#5F59CA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.170 H 281.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5F59CA
RGBrgb(95, 89, 202)
HSLhsl(243, 52%, 57%)
HSVhsv(243, 56%, 79%)
CMYKcmyk(53%, 55.9%, 0%, 20.8%)
CIE-LABlab(44.00, 33.46, -58.24)
CIE-LCHlch(44.00, 67.17, 299.87°)
OKLaboklab(53.08% 0.0333 -0.1667)
OKLCHoklch(53.08% 0.17 281.3)
XYZxyz(18.9491, 13.8408, 57.5387)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F59CA #C4CA59
analogous
#598CCA #5F59CA #9859CA
triadic
#5F59CA #CA5F59 #59CA5F
tetradic
#5F59CA #CA598C #C4CA59 #59CA98
square
#5F59CA #CA598C #C4CA59 #59CA98
split-complementary
#5F59CA #CA9859 #8CCA59
monochromatic
#2D2980 #3E38AE #5F59CA #8C87D9 #B8B6E8

Accessibility & contrast

On white

5.57
#5F59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5F59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F59CA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F59CA#FFFFFF#000000##FFFFFF
##5F59CA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056CCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#317389
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f59ca;
/* rgb */ color: rgb(95, 89, 202);
/* oklch */ color: oklch(53.1% 0.170 281.3);
Tailwind
colors: {
  custom: {
    50: '#9588db',
    500: '#5f59ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f59ca;
$custom-light: #9588db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f59ca",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 243.186,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.16996,
    "h": 281.3
  },
  "luminance": 0.13842
}

Semantic roles & 50–950 ramp

primary
#5F59CA
secondary
#D4D6A8
accent
#DB4DD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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