#5F60E2#5F60E2

#5F60E2 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.1% C 0.193 H 277.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5F60E2
RGBrgb(95, 96, 226)
HSLhsl(240, 69%, 63%)
HSVhsv(240, 58%, 89%)
CMYKcmyk(58%, 57.5%, 0%, 11.4%)
CIE-LABlab(47.35, 36.82, -66.53)
CIE-LCHlch(47.35, 76.04, 298.96°)
OKLaboklab(56.09% 0.0264 -0.191)
OKLCHoklch(56.09% 0.193 277.9)
XYZxyz(22.6253, 16.2880, 73.8884)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F60E2 #E2E15F
analogous
#5FA1E2 #5F60E2 #9F5FE2
triadic
#5F60E2 #E25F60 #60E25F
tetradic
#5F60E2 #E25FA1 #E2E15F #5FE29F
square
#5F60E2 #E25FA1 #E2E15F #5FE29F
split-complementary
#5F60E2 #E29F5F #A1E25F
monochromatic
#1E20A8 #2B2DD9 #5F60E2 #9393EB #C7C7F5

Accessibility & contrast

On white

4.93
#5F60E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5F60E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F60E2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F60E2#FFFFFF#000000##FFFFFF
##5F60E21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f60e2;
/* rgb */ color: rgb(95, 96, 226);
/* oklch */ color: oklch(56.1% 0.193 277.9);
Tailwind
colors: {
  custom: {
    50: '#988dec',
    500: '#5f60e2',
    950: '#000000',
  },
}
SCSS
$custom: #5f60e2;
$custom-light: #988dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5f60e2",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 239.542,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.19281,
    "h": 277.9
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#5F60E2
secondary
#E6E6B7
accent
#D014D1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5F60E2

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

Preview Lab → · Contrast checker → · Palette generator →

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