#5F60EF#5F60EF

#5F60EF is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 57.1% C 0.210 H 277.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5F60EF
RGBrgb(95, 96, 239)
HSLhsl(240, 82%, 65%)
HSVhsv(240, 60%, 94%)
CMYKcmyk(60.3%, 59.8%, 0%, 6.3%)
CIE-LABlab(48.30, 40.97, -72.31)
CIE-LCHlch(48.30, 83.11, 299.53°)
OKLaboklab(57.09% 0.0261 -0.208)
OKLCHoklch(57.09% 0.21 277.2)
XYZxyz(24.4771, 17.0288, 83.6416)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F60EF #EFEE5F
analogous
#5FA8EF #5F60EF #A65FEF
triadic
#5F60EF #EF5F60 #60EF5F
tetradic
#5F60EF #EF5FA8 #EFEE5F #5FEFA6
square
#5F60EF #EF5FA8 #EFEE5F #5FEFA6
split-complementary
#5F60EF #EFA65F #A8EF5F
monochromatic
#1314C0 #2729E9 #5F60EF #9797F5 #CECFFA

Accessibility & contrast

On white

4.77
#5F60EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5F60EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F60EF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F60EF#FFFFFF#000000##FFFFFF
##5F60EF1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f60ef;
/* rgb */ color: rgb(95, 96, 239);
/* oklch */ color: oklch(57.1% 0.210 277.2);
Tailwind
colors: {
  custom: {
    50: '#9a8df5',
    500: '#5f60ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f60ef;
$custom-light: #9a8df5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f60ef",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 239.583,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57092,
    "c": 0.20963,
    "h": 277.2
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

primary
#5F60EF
secondary
#EDEDBD
accent
#DD07DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F60EF

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

Preview Lab → · Contrast checker → · Palette generator →

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