#5F60CD#5F60CD

#5F60CD is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.6% C 0.165 H 279.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F60CD
RGBrgb(95, 96, 205)
HSLhsl(239, 52%, 59%)
HSVhsv(239, 54%, 80%)
CMYKcmyk(53.7%, 53.2%, 0%, 19.6%)
CIE-LABlab(45.91, 30.12, -56.88)
CIE-LCHlch(45.91, 64.36, 297.90°)
OKLaboklab(54.57% 0.0259 -0.1626)
OKLCHoklch(54.57% 0.165 279)
XYZxyz(19.9182, 15.2052, 59.6311)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F60CD #CDCC5F
analogous
#5F97CD #5F60CD #955FCD
triadic
#5F60CD #CD5F60 #60CD5F
tetradic
#5F60CD #CD5F97 #CDCC5F #5FCD95
square
#5F60CD #CD5F97 #CDCC5F #5FCD95
split-complementary
#5F60CD #CD955F #97CD5F
monochromatic
#2A2B87 #393AB6 #5F60CD #8E8EDC #BCBDEA

Accessibility & contrast

On white

5.20
#5F60CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5F60CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F60CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F60CD#FFFFFF#000000##FFFFFF
##5F60CD1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#0C68CB
Tritanopia (blue-blind)
#2C798D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f60cd;
/* rgb */ color: rgb(95, 96, 205);
/* oklch */ color: oklch(54.6% 0.165 279.0);
Tailwind
colors: {
  custom: {
    50: '#958ddd',
    500: '#5f60cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f60cd;
$custom-light: #958ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f60cd",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 205
  },
  "hsl": {
    "h": 239.455,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5457,
    "c": 0.16467,
    "h": 279
  },
  "luminance": 0.15206
}

Semantic roles & 50–950 ramp

primary
#5F60CD
secondary
#DAD9AE
accent
#DB4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F60CD

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

Preview Lab → · Contrast checker → · Palette generator →

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