#5F80BC#5F80BC

#5F80BC is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.1% C 0.100 H 261.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5F80BC
RGBrgb(95, 128, 188)
HSLhsl(219, 41%, 55%)
HSVhsv(219, 49%, 74%)
CMYKcmyk(49.5%, 31.9%, 0%, 26.3%)
CIE-LABlab(53.49, 5.17, -35.08)
CIE-LCHlch(53.49, 35.46, 278.39°)
OKLaboklab(60.06% -0.0142 -0.0986)
OKLCHoklch(60.06% 0.1 261.8)
XYZxyz(21.5126, 21.5006, 50.5836)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80BC #BC9B5F
analogous
#5FAEBC #5F80BC #6C5FBC
triadic
#5F80BC #BC5F80 #80BC5F
tetradic
#5F80BC #BC5FAE #BC9B5F #5FBC6C
square
#5F80BC #BC5FAE #BC9B5F #5FBC6C
split-complementary
#5F80BC #BC6C5F #AEBC5F
monochromatic
#2F4771 #41629C #5F80BC #8AA2CE #B5C4E0

Accessibility & contrast

On white

3.96
#5F80BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5F80BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80BC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80BC#FFFFFF#000000##000000
##5F80BC1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6985BF
Deuteranopia (green-blind)
#5E7CBB
Tritanopia (blue-blind)
#368D95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f80bc;
/* rgb */ color: rgb(95, 128, 188);
/* oklch */ color: oklch(60.1% 0.100 261.8);
Tailwind
colors: {
  custom: {
    50: '#91a4d0',
    500: '#5f80bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f80bc;
$custom-light: #91a4d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80bc",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 188
  },
  "hsl": {
    "h": 218.71,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6006,
    "c": 0.0996,
    "h": 261.8
  },
  "luminance": 0.21502
}

Semantic roles & 50–950 ramp

primary
#5F80BC
secondary
#CFC1A8
accent
#A657D1
background
#F9FAFC
surface
#F2F4F9
border
#CCCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F80BC

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

Preview Lab → · Contrast checker → · Palette generator →

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