#5982BE#5982BE

#5982BE is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.3% C 0.103 H 257.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5982BE
RGBrgb(89, 130, 190)
HSLhsl(216, 44%, 55%)
HSVhsv(216, 53%, 75%)
CMYKcmyk(53.2%, 31.6%, 0%, 25.5%)
CIE-LABlab(53.82, 3.20, -35.74)
CIE-LCHlch(53.82, 35.88, 275.12°)
OKLaboklab(60.26% -0.0217 -0.1006)
OKLCHoklch(60.26% 0.103 257.8)
XYZxyz(21.3935, 21.8052, 51.7867)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982BE #BE9559
analogous
#59B4BE #5982BE #6359BE
triadic
#5982BE #BE5982 #82BE59
tetradic
#5982BE #BE59B4 #BE9559 #59BE63
square
#5982BE #BE59B4 #BE9559 #59BE63
split-complementary
#5982BE #BE6359 #B4BE59
monochromatic
#2C4871 #3D649D #5982BE #85A3CF #B1C4E0

Accessibility & contrast

On white

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

On black

5.36
#5982BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982BE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982BE#FFFFFF#000000##000000
##5982BE1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C1
Deuteranopia (green-blind)
#5E7CBD
Tritanopia (blue-blind)
#228F97
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5982be;
/* rgb */ color: rgb(89, 130, 190);
/* oklch */ color: oklch(60.3% 0.103 257.8);
Tailwind
colors: {
  custom: {
    50: '#8ea6d2',
    500: '#5982be',
    950: '#000000',
  },
}
SCSS
$custom: #5982be;
$custom-light: #8ea6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5982be",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 190
  },
  "hsl": {
    "h": 215.644,
    "s": 43.723,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60257,
    "c": 0.10289,
    "h": 257.8
  },
  "luminance": 0.21807
}

Semantic roles & 50–950 ramp

primary
#5982BE
secondary
#CFBDA4
accent
#A054D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5982BE

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

Preview Lab → · Contrast checker → · Palette generator →

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