#5F60CA#5F60CA

#5F60CA is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.161 H 279.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F60CA
RGBrgb(95, 96, 202)
HSLhsl(239, 50%, 58%)
HSVhsv(239, 53%, 79%)
CMYKcmyk(53%, 52.5%, 0%, 20.8%)
CIE-LABlab(45.72, 29.17, -55.47)
CIE-LCHlch(45.72, 62.67, 297.73°)
OKLaboklab(54.36% 0.0257 -0.1585)
OKLCHoklch(54.36% 0.161 279.2)
XYZxyz(19.5595, 15.0617, 57.7422)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F60CA #CAC95F
analogous
#5F95CA #5F60CA #935FCA
triadic
#5F60CA #CA5F60 #60CA5F
tetradic
#5F60CA #CA5F95 #CAC95F #5FCA93
square
#5F60CA #CA5F95 #CAC95F #5FCA93
split-complementary
#5F60CA #CA935F #95CA5F
monochromatic
#2B2C83 #3B3CB1 #5F60CA #8D8ED9 #BBBBE8

Accessibility & contrast

On white

5.23
#5F60CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5F60CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F60CA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F60CA#FFFFFF#000000##FFFFFF
##5F60CA1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2671CE
Deuteranopia (green-blind)
#1668C8
Tritanopia (blue-blind)
#30788C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f60ca;
/* rgb */ color: rgb(95, 96, 202);
/* oklch */ color: oklch(54.4% 0.161 279.2);
Tailwind
colors: {
  custom: {
    50: '#948ddb',
    500: '#5f60ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f60ca;
$custom-light: #948ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f60ca",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 239.439,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54362,
    "c": 0.16055,
    "h": 279.2
  },
  "luminance": 0.15063
}

Semantic roles & 50–950 ramp

primary
#5F60CA
secondary
#D8D7AD
accent
#D84EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F60CA

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

Preview Lab → · Contrast checker → · Palette generator →

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