#5F80CD#5F80CD

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

Color values

HEX#5F80CD
RGBrgb(95, 128, 205)
HSLhsl(222, 52%, 59%)
HSVhsv(222, 54%, 80%)
CMYKcmyk(53.7%, 37.6%, 0%, 19.6%)
CIE-LABlab(54.32, 10.51, -43.46)
CIE-LCHlch(54.32, 44.71, 283.60°)
OKLaboklab(60.97% -0.0099 -0.123)
OKLCHoklch(60.97% 0.123 265.4)
XYZxyz(23.4542, 22.2773, 60.8098)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80CD #CDAC5F
analogous
#5FB7CD #5F80CD #755FCD
triadic
#5F80CD #CD5F80 #80CD5F
tetradic
#5F80CD #CD5FB7 #CDAC5F #5FCD75
square
#5F80CD #CD5FB7 #CDAC5F #5FCD75
split-complementary
#5F80CD #CD755F #B7CD5F
monochromatic
#2A4687 #395EB6 #5F80CD #8EA5DC #BCCAEA

Accessibility & contrast

On white

3.85
#5F80CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#5F80CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80CD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80CD#FFFFFF#000000##000000
##5F80CD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#24919D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f80cd;
/* rgb */ color: rgb(95, 128, 205);
/* oklch */ color: oklch(61.0% 0.123 265.4);
Tailwind
colors: {
  custom: {
    50: '#93a4dc',
    500: '#5f80cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f80cd;
$custom-light: #93a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80cd",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 205
  },
  "hsl": {
    "h": 222,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.12337,
    "h": 265.4
  },
  "luminance": 0.22279
}

Semantic roles & 50–950 ramp

primary
#5F80CD
secondary
#DACDAE
accent
#B14CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F80CD

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

Preview Lab → · Contrast checker → · Palette generator →

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