#5F60F2#5F60F2

#5F60F2 is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.3% C 0.213 H 277.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5F60F2
RGBrgb(95, 96, 242)
HSLhsl(240, 85%, 66%)
HSVhsv(240, 61%, 95%)
CMYKcmyk(60.7%, 60.3%, 0%, 5.1%)
CIE-LABlab(48.52, 41.93, -73.63)
CIE-LCHlch(48.52, 84.73, 299.66°)
OKLaboklab(57.33% 0.026 -0.2119)
OKLCHoklch(57.33% 0.213 277)
XYZxyz(24.9240, 17.2075, 85.9951)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F60F2 #F2F15F
analogous
#5FA9F2 #5F60F2 #A75FF2
triadic
#5F60F2 #F25F60 #60F25F
tetradic
#5F60F2 #F25FA9 #F2F15F #5FF2A7
square
#5F60F2 #F25FA9 #F2F15F #5FF2A7
split-complementary
#5F60F2 #F2A75F #A9F25F
monochromatic
#1011C6 #2628ED #5F60F2 #9898F7 #D0D0FB

Accessibility & contrast

On white

4.73
#5F60F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5F60F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F60F2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F60F2#FFFFFF#000000##FFFFFF
##5F60F21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#006DEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f60f2;
/* rgb */ color: rgb(95, 96, 242);
/* oklch */ color: oklch(57.3% 0.213 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a8df7',
    500: '#5f60f2',
    950: '#000000',
  },
}
SCSS
$custom: #5f60f2;
$custom-light: #9a8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f60f2",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 239.592,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57327,
    "c": 0.21346,
    "h": 277
  },
  "luminance": 0.17209
}

Semantic roles & 50–950 ramp

primary
#5F60F2
secondary
#EFEEBE
accent
#E004E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F60F2

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

Preview Lab → · Contrast checker → · Palette generator →

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