#5F60E7#5F60E7

#5F60E7 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.5% C 0.199 H 277.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5F60E7
RGBrgb(95, 96, 231)
HSLhsl(240, 74%, 64%)
HSVhsv(240, 59%, 91%)
CMYKcmyk(58.9%, 58.4%, 0%, 9.4%)
CIE-LABlab(47.71, 38.41, -68.77)
CIE-LCHlch(47.71, 78.77, 299.19°)
OKLaboklab(56.47% 0.0263 -0.1976)
OKLCHoklch(56.47% 0.199 277.6)
XYZxyz(23.3214, 16.5664, 77.5545)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F60E7 #E7E65F
analogous
#5FA4E7 #5F60E7 #A25FE7
triadic
#5F60E7 #E75F60 #60E75F
tetradic
#5F60E7 #E75FA4 #E7E65F #5FE7A2
square
#5F60E7 #E75FA4 #E7E65F #5FE7A2
split-complementary
#5F60E7 #E7A25F #A4E75F
monochromatic
#1B1CB1 #2A2BDF #5F60E7 #9495EF #C9CAF7

Accessibility & contrast

On white

4.87
#5F60E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5F60E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F60E7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F60E7#FFFFFF#000000##FFFFFF
##5F60E71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f60e7;
/* rgb */ color: rgb(95, 96, 231);
/* oklch */ color: oklch(56.5% 0.199 277.6);
Tailwind
colors: {
  custom: {
    50: '#998df0',
    500: '#5f60e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f60e7;
$custom-light: #998df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f60e7",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 239.559,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.19933,
    "h": 277.6
  },
  "luminance": 0.16568
}

Semantic roles & 50–950 ramp

primary
#5F60E7
secondary
#E9E8B9
accent
#D50FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F60E7

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

Preview Lab → · Contrast checker → · Palette generator →

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