#5981BF#5981BF

#5981BF is a mid, moderate blue. Relative luminance 0.216; OKLCH L 60.1% C 0.105 H 258.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5981BF
RGBrgb(89, 129, 191)
HSLhsl(216, 44%, 55%)
HSVhsv(216, 53%, 75%)
CMYKcmyk(53.4%, 32.5%, 0%, 25.1%)
CIE-LABlab(53.58, 4.11, -36.68)
CIE-LCHlch(53.58, 36.91, 276.40°)
OKLaboklab(60.09% -0.0203 -0.1033)
OKLCHoklch(60.09% 0.105 258.9)
XYZxyz(21.3708, 21.5843, 52.3201)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5981BF #BF9759
analogous
#59B4BF #5981BF #6459BF
triadic
#5981BF #BF5981 #81BF59
tetradic
#5981BF #BF59B4 #BF9759 #59BF64
square
#5981BF #BF59B4 #BF9759 #59BF64
split-complementary
#5981BF #BF6459 #B4BF59
monochromatic
#2C4772 #3D639E #5981BF #85A3D0 #B1C4E1

Accessibility & contrast

On white

3.95
#5981BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#5981BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5981BF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5981BF#FFFFFF#000000##000000
##5981BF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6885C2
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#218F97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5981bf;
/* rgb */ color: rgb(89, 129, 191);
/* oklch */ color: oklch(60.1% 0.105 258.9);
Tailwind
colors: {
  custom: {
    50: '#8ea5d2',
    500: '#5981bf',
    950: '#000000',
  },
}
SCSS
$custom: #5981bf;
$custom-light: #8ea5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5981bf",
  "rgb": {
    "r": 89,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 216.471,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60088,
    "c": 0.10528,
    "h": 258.9
  },
  "luminance": 0.21586
}

Semantic roles & 50–950 ramp

primary
#5981BF
secondary
#CFBFA4
accent
#A254D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5981BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5981BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva