#5F80BB#5F80BB

#5F80BB is a mid, moderate blue. Relative luminance 0.215; OKLCH L 60.0% C 0.098 H 261.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5F80BB
RGBrgb(95, 128, 187)
HSLhsl(218, 40%, 55%)
HSVhsv(218, 49%, 73%)
CMYKcmyk(49.2%, 31.6%, 0%, 26.7%)
CIE-LABlab(53.45, 4.86, -34.58)
CIE-LCHlch(53.45, 34.92, 278.00°)
OKLaboklab(60.01% -0.0145 -0.0971)
OKLCHoklch(60.01% 0.098 261.5)
XYZxyz(21.4052, 21.4577, 50.0179)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F80BB #BB9A5F
analogous
#5FAEBB #5F80BB #6C5FBB
triadic
#5F80BB #BB5F80 #80BB5F
tetradic
#5F80BB #BB5FAE #BB9A5F #5FBB6C
square
#5F80BB #BB5FAE #BB9A5F #5FBB6C
split-complementary
#5F80BB #BB6C5F #AEBB5F
monochromatic
#304770 #42629B #5F80BB #8AA2CD #B5C4E0

Accessibility & contrast

On white

3.97
#5F80BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#5F80BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F80BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F80BB#FFFFFF#000000##000000
##5F80BB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A84BE
Deuteranopia (green-blind)
#5F7CBA
Tritanopia (blue-blind)
#378D95
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5f80bb;
/* rgb */ color: rgb(95, 128, 187);
/* oklch */ color: oklch(60.0% 0.098 261.5);
Tailwind
colors: {
  custom: {
    50: '#91a4cf',
    500: '#5f80bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f80bb;
$custom-light: #91a4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f80bb",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 187
  },
  "hsl": {
    "h": 218.478,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.09821,
    "h": 261.5
  },
  "luminance": 0.21459
}

Semantic roles & 50–950 ramp

primary
#5F80BB
secondary
#CEC0A8
accent
#A558D0
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5F80BB

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

Preview Lab → · Contrast checker → · Palette generator →

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