#5F80CE#5F80CE

#5F80CE is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.0% C 0.125 H 265.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5F80CE
RGBrgb(95, 128, 206)
HSLhsl(222, 53%, 59%)
HSVhsv(222, 54%, 81%)
CMYKcmyk(53.9%, 37.9%, 0%, 19.2%)
CIE-LABlab(54.37, 10.83, -43.95)
CIE-LCHlch(54.37, 45.26, 283.85°)
OKLaboklab(61.03% -0.0097 -0.1244)
OKLCHoklch(61.03% 0.125 265.5)
XYZxyz(23.5753, 22.3257, 61.4475)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80CE #CEAD5F
analogous
#5FB8CE #5F80CE #765FCE
triadic
#5F80CE #CE5F80 #80CE5F
tetradic
#5F80CE #CE5FB8 #CEAD5F #5FCE76
square
#5F80CE #CE5FB8 #CEAD5F #5FCE76
split-complementary
#5F80CE #CE765F #B8CE5F
monochromatic
#2A4689 #385EB8 #5F80CE #8EA5DC #BDCAEB

Accessibility & contrast

On white

3.84
#5F80CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5F80CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80CE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80CE#FFFFFF#000000##000000
##5F80CE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D1
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#23919D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f80ce;
/* rgb */ color: rgb(95, 128, 206);
/* oklch */ color: oklch(61.0% 0.125 265.5);
Tailwind
colors: {
  custom: {
    50: '#94a4dd',
    500: '#5f80ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f80ce;
$custom-light: #94a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80ce",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 206
  },
  "hsl": {
    "h": 222.162,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.12477,
    "h": 265.5
  },
  "luminance": 0.22327
}

Semantic roles & 50–950 ramp

primary
#5F80CE
secondary
#DACDAF
accent
#B14BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F80CE

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

Preview Lab → · Contrast checker → · Palette generator →

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