#5982CB#5982CB

#5982CB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.121 H 261.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5982CB
RGBrgb(89, 130, 203)
HSLhsl(218, 52%, 57%)
HSVhsv(218, 56%, 80%)
CMYKcmyk(56.2%, 36%, 0%, 20.4%)
CIE-LABlab(54.45, 7.37, -42.15)
CIE-LCHlch(54.45, 42.79, 279.92°)
OKLaboklab(60.95% -0.0183 -0.1192)
OKLCHoklch(60.95% 0.121 261.3)
XYZxyz(22.8782, 22.3991, 59.6062)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982CB #CBA259
analogous
#59BBCB #5982CB #6959CB
triadic
#5982CB #CB5982 #82CB59
tetradic
#5982CB #CB59BB #CBA259 #59CB69
square
#5982CB #CB59BB #CBA259 #59CB69
split-complementary
#5982CB #CB6959 #BBCB59
monochromatic
#284881 #3762B0 #5982CB #88A5DA #B6C8E8

Accessibility & contrast

On white

3.83
#5982CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5982CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982CB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982CB#FFFFFF#000000##000000
##5982CB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6488CE
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#05929D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5982cb;
/* rgb */ color: rgb(89, 130, 203);
/* oklch */ color: oklch(61.0% 0.121 261.3);
Tailwind
colors: {
  custom: {
    50: '#90a6db',
    500: '#5982cb',
    950: '#000000',
  },
}
SCSS
$custom: #5982cb;
$custom-light: #90a6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5982cb",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 203
  },
  "hsl": {
    "h": 218.421,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.12062,
    "h": 261.3
  },
  "luminance": 0.22401
}

Semantic roles & 50–950 ramp

primary
#5982CB
secondary
#D7C6A9
accent
#A84CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5982CB

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

Preview Lab → · Contrast checker → · Palette generator →

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