#5F60EA#5F60EA

#5F60EA is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.7% C 0.203 H 277.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5F60EA
RGBrgb(95, 96, 234)
HSLhsl(240, 77%, 65%)
HSVhsv(240, 59%, 92%)
CMYKcmyk(59.4%, 59%, 0%, 8.2%)
CIE-LABlab(47.93, 39.37, -70.10)
CIE-LCHlch(47.93, 80.40, 299.32°)
OKLaboklab(56.7% 0.0263 -0.2015)
OKLCHoklch(56.7% 0.203 277.4)
XYZxyz(23.7487, 16.7374, 79.8051)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F60EA #EAE95F
analogous
#5FA6EA #5F60EA #A35FEA
triadic
#5F60EA #EA5F60 #60EA5F
tetradic
#5F60EA #EA5FA6 #EAE95F #5FEAA3
square
#5F60EA #EA5FA6 #EAE95F #5FEAA3
split-complementary
#5F60EA #EAA35F #A6EA5F
monochromatic
#1819B7 #292AE3 #5F60EA #9596F1 #CBCCF8

Accessibility & contrast

On white

4.83
#5F60EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#5F60EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F60EA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F60EA#FFFFFF#000000##FFFFFF
##5F60EA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f60ea;
/* rgb */ color: rgb(95, 96, 234);
/* oklch */ color: oklch(56.7% 0.203 277.4);
Tailwind
colors: {
  custom: {
    50: '#998df2',
    500: '#5f60ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f60ea;
$custom-light: #998df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f60ea",
  "rgb": {
    "r": 95,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 239.568,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.20321,
    "h": 277.4
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#5F60EA
secondary
#EAEABA
accent
#D80CD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5F60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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