#5982BC#5982BC

#5982BC is a mid, moderate blue. Relative luminance 0.217; OKLCH L 60.2% C 0.100 H 257.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5982BC
RGBrgb(89, 130, 188)
HSLhsl(215, 42%, 54%)
HSVhsv(215, 53%, 74%)
CMYKcmyk(52.7%, 30.9%, 0%, 26.3%)
CIE-LABlab(53.73, 2.57, -34.74)
CIE-LCHlch(53.73, 34.84, 274.23°)
OKLaboklab(60.15% -0.0223 -0.0977)
OKLCHoklch(60.15% 0.1 257.1)
XYZxyz(21.1764, 21.7184, 50.6433)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982BC #BC9359
analogous
#59B3BC #5982BC #6259BC
triadic
#5982BC #BC5982 #82BC59
tetradic
#5982BC #BC59B3 #BC9359 #59BC62
square
#5982BC #BC59B3 #BC9359 #59BC62
split-complementary
#5982BC #BC6259 #B3BC59
monochromatic
#2C486E #3E649A #5982BC #85A3CE #B0C4DF

Accessibility & contrast

On white

3.93
#5982BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5982BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982BC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982BC#FFFFFF#000000##000000
##5982BC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86BE
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#258F97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5982bc;
/* rgb */ color: rgb(89, 130, 188);
/* oklch */ color: oklch(60.2% 0.100 257.1);
Tailwind
colors: {
  custom: {
    50: '#8ea6d0',
    500: '#5982bc',
    950: '#000000',
  },
}
SCSS
$custom: #5982bc;
$custom-light: #8ea6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5982bc",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 188
  },
  "hsl": {
    "h": 215.152,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60154,
    "c": 0.1002,
    "h": 257.1
  },
  "luminance": 0.2172
}

Semantic roles & 50–950 ramp

primary
#5982BC
secondary
#CDBCA3
accent
#9F56D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5982BC

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

Preview Lab → · Contrast checker → · Palette generator →

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