#5982BF#5982BF

#5982BF is a mid, moderate blue. Relative luminance 0.219; OKLCH L 60.3% C 0.104 H 258.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5982BF
RGBrgb(89, 130, 191)
HSLhsl(216, 44%, 55%)
HSVhsv(216, 53%, 75%)
CMYKcmyk(53.4%, 31.9%, 0%, 25.1%)
CIE-LABlab(53.87, 3.52, -36.24)
CIE-LCHlch(53.87, 36.41, 275.55°)
OKLaboklab(60.31% -0.0215 -0.102)
OKLCHoklch(60.31% 0.104 258.1)
XYZxyz(21.5032, 21.8491, 52.3643)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982BF #BF9659
analogous
#59B5BF #5982BF #6359BF
triadic
#5982BF #BF5982 #82BF59
tetradic
#5982BF #BF59B5 #BF9659 #59BF63
square
#5982BF #BF59B5 #BF9659 #59BF63
split-complementary
#5982BF #BF6359 #B5BF59
monochromatic
#2C4872 #3D649E #5982BF #85A3D0 #B1C5E1

Accessibility & contrast

On white

3.91
#5982BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5982BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982BF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982BF#FFFFFF#000000##000000
##5982BF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#219098
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5982bf;
/* rgb */ color: rgb(89, 130, 191);
/* oklch */ color: oklch(60.3% 0.104 258.1);
Tailwind
colors: {
  custom: {
    50: '#8ea6d2',
    500: '#5982bf',
    950: '#000000',
  },
}
SCSS
$custom: #5982bf;
$custom-light: #8ea6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5982bf",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 191
  },
  "hsl": {
    "h": 215.882,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60309,
    "c": 0.10424,
    "h": 258.1
  },
  "luminance": 0.21851
}

Semantic roles & 50–950 ramp

primary
#5982BF
secondary
#CFBEA4
accent
#A054D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5982BF

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

Preview Lab → · Contrast checker → · Palette generator →

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