#5B60F2#5B60F2

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

Color values

HEX#5B60F2
RGBrgb(91, 96, 242)
HSLhsl(238, 85%, 65%)
HSVhsv(238, 62%, 95%)
CMYKcmyk(62.4%, 60.3%, 0%, 5.1%)
CIE-LABlab(48.26, 41.32, -74.07)
CIE-LCHlch(48.26, 84.81, 299.15°)
OKLaboklab(57.07% 0.0215 -0.2133)
OKLCHoklch(57.07% 0.214 275.7)
XYZxyz(24.5190, 16.9987, 85.9762)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B60F2 #F2ED5B
analogous
#5BACF2 #5B60F2 #A15BF2
triadic
#5B60F2 #F25B60 #60F25B
tetradic
#5B60F2 #F25BAC #F2ED5B #5BF2A1
square
#5B60F2 #F25BAC #F2ED5B #5BF2A1
split-complementary
#5B60F2 #F2A15B #ACF25B
monochromatic
#0F15C3 #2229EE #5B60F2 #9497F6 #CCCEFB

Accessibility & contrast

On white

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

On black

4.40
#5B60F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B60F2#FFFFFF#000000##FFFFFF
##5B60F21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#006CEF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b60f2;
/* rgb */ color: rgb(91, 96, 242);
/* oklch */ color: oklch(57.1% 0.214 275.7);
Tailwind
colors: {
  custom: {
    50: '#988df7',
    500: '#5b60f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b60f2;
$custom-light: #988df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b60f2",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 238.013,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.21434,
    "h": 275.7
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#5B60F2
secondary
#EEECBB
accent
#DA04E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5B60F2

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

Preview Lab → · Contrast checker → · Palette generator →

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