#5F60EC#5F60EC

#5F60EC is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.9% C 0.206 H 277.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5F60EC
RGBrgb(95, 96, 236)
HSLhsl(240, 79%, 65%)
HSVhsv(240, 60%, 93%)
CMYKcmyk(59.7%, 59.3%, 0%, 7.5%)
CIE-LABlab(48.07, 40.01, -70.99)
CIE-LCHlch(48.07, 81.49, 299.41°)
OKLaboklab(56.86% 0.0262 -0.2041)
OKLCHoklch(56.86% 0.206 277.3)
XYZxyz(24.0376, 16.8529, 81.3269)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F60EC #ECEB5F
analogous
#5FA7EC #5F60EC #A45FEC
triadic
#5F60EC #EC5F60 #60EC5F
tetradic
#5F60EC #EC5FA7 #ECEB5F #5FECA4
square
#5F60EC #EC5FA7 #ECEB5F #5FECA4
split-complementary
#5F60EC #ECA45F #A7EC5F
monochromatic
#1617BA #282AE6 #5F60EC #9696F2 #CCCDF9

Accessibility & contrast

On white

4.80
#5F60EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5F60EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F60EC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F60EC#FFFFFF#000000##FFFFFF
##5F60EC1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#006CE9
Tritanopia (blue-blind)
#00829D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f60ec;
/* rgb */ color: rgb(95, 96, 236);
/* oklch */ color: oklch(56.9% 0.206 277.3);
Tailwind
colors: {
  custom: {
    50: '#998df3',
    500: '#5f60ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f60ec;
$custom-light: #998df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f60ec",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 239.574,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56858,
    "c": 0.20579,
    "h": 277.3
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#5F60EC
secondary
#EBEBBB
accent
#DA0ADB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F60EC

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

Preview Lab → · Contrast checker → · Palette generator →

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