#5982BD#5982BD

#5982BD is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.2% C 0.102 H 257.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5982BD
RGBrgb(89, 130, 189)
HSLhsl(215, 43%, 55%)
HSVhsv(215, 53%, 74%)
CMYKcmyk(52.9%, 31.2%, 0%, 25.9%)
CIE-LABlab(53.77, 2.88, -35.24)
CIE-LCHlch(53.77, 35.36, 274.68°)
OKLaboklab(60.21% -0.022 -0.0991)
OKLCHoklch(60.21% 0.102 257.5)
XYZxyz(21.2846, 21.7616, 51.2130)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982BD #BD9459
analogous
#59B4BD #5982BD #6259BD
triadic
#5982BD #BD5982 #82BD59
tetradic
#5982BD #BD59B4 #BD9459 #59BD62
square
#5982BD #BD59B4 #BD9459 #59BD62
split-complementary
#5982BD #BD6259 #B4BD59
monochromatic
#2C486F #3E649B #5982BD #85A3CE #B1C4E0

Accessibility & contrast

On white

3.92
#5982BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5982BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982BD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982BD#FFFFFF#000000##000000
##5982BD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86C0
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#248F97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5982bd;
/* rgb */ color: rgb(89, 130, 189);
/* oklch */ color: oklch(60.2% 0.102 257.5);
Tailwind
colors: {
  custom: {
    50: '#8ea6d1',
    500: '#5982bd',
    950: '#000000',
  },
}
SCSS
$custom: #5982bd;
$custom-light: #8ea6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5982bd",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 189
  },
  "hsl": {
    "h": 215.4,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60205,
    "c": 0.10155,
    "h": 257.5
  },
  "luminance": 0.21763
}

Semantic roles & 50–950 ramp

primary
#5982BD
secondary
#CEBDA4
accent
#9F55D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5982BD

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

Preview Lab → · Contrast checker → · Palette generator →

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