#5F80CA#5F80CA

#5F80CA is a mid, moderate blue. Relative luminance 0.221; OKLCH L 60.8% C 0.119 H 264.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5F80CA
RGBrgb(95, 128, 202)
HSLhsl(221, 50%, 58%)
HSVhsv(221, 53%, 79%)
CMYKcmyk(53%, 36.6%, 0%, 20.8%)
CIE-LABlab(54.17, 9.56, -42.00)
CIE-LCHlch(54.17, 43.07, 282.82°)
OKLaboklab(60.81% -0.0106 -0.1187)
OKLCHoklch(60.81% 0.119 264.9)
XYZxyz(23.0956, 22.1338, 58.9209)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80CA #CAA95F
analogous
#5FB6CA #5F80CA #735FCA
triadic
#5F80CA #CA5F80 #80CA5F
tetradic
#5F80CA #CA5FB6 #CAA95F #5FCA73
square
#5F80CA #CA5FB6 #CAA95F #5FCA73
split-complementary
#5F80CA #CA735F #B6CA5F
monochromatic
#2B4683 #3B5FB1 #5F80CA #8DA4D9 #BBC9E8

Accessibility & contrast

On white

3.87
#5F80CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5F80CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80CA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80CA#FFFFFF#000000##000000
##5F80CA1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#567DC8
Tritanopia (blue-blind)
#28909B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f80ca;
/* rgb */ color: rgb(95, 128, 202);
/* oklch */ color: oklch(60.8% 0.119 264.9);
Tailwind
colors: {
  custom: {
    50: '#93a4da',
    500: '#5f80ca',
    950: '#000000',
  },
}
SCSS
$custom: #5f80ca;
$custom-light: #93a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80ca",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 202
  },
  "hsl": {
    "h": 221.495,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60806,
    "c": 0.11918,
    "h": 264.9
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#5F80CA
secondary
#D8CBAD
accent
#AF4EDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F80CA

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

Preview Lab → · Contrast checker → · Palette generator →

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