#5982C8#5982C8

#5982C8 is a mid, moderate blue. Relative luminance 0.223; OKLCH L 60.8% C 0.117 H 260.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5982C8
RGBrgb(89, 130, 200)
HSLhsl(218, 50%, 57%)
HSVhsv(218, 56%, 78%)
CMYKcmyk(55.5%, 35%, 0%, 21.6%)
CIE-LABlab(54.30, 6.40, -40.68)
CIE-LCHlch(54.30, 41.18, 278.94°)
OKLaboklab(60.79% -0.0191 -0.1149)
OKLCHoklch(60.79% 0.117 260.6)
XYZxyz(22.5242, 22.2575, 57.7415)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5982C8 #C89F59
analogous
#59BAC8 #5982C8 #6859C8
triadic
#5982C8 #C85982 #82C859
tetradic
#5982C8 #C859BA #C89F59 #59C868
square
#5982C8 #C859BA #C89F59 #59C868
split-complementary
#5982C8 #C86859 #BAC859
monochromatic
#29487D #3963AB #5982C8 #87A5D7 #B5C7E6

Accessibility & contrast

On white

3.85
#5982C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5982C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5982C8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5982C8#FFFFFF#000000##000000
##5982C81.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6688CB
Deuteranopia (green-blind)
#587DC7
Tritanopia (blue-blind)
#10919C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5982c8;
/* rgb */ color: rgb(89, 130, 200);
/* oklch */ color: oklch(60.8% 0.117 260.6);
Tailwind
colors: {
  custom: {
    50: '#8fa6d9',
    500: '#5982c8',
    950: '#000000',
  },
}
SCSS
$custom: #5982c8;
$custom-light: #8fa6d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5982c8",
  "rgb": {
    "r": 89,
    "g": 130,
    "b": 200
  },
  "hsl": {
    "h": 217.838,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.11651,
    "h": 260.6
  },
  "luminance": 0.22259
}

Semantic roles & 50–950 ramp

primary
#5982C8
secondary
#D5C4A8
accent
#A64EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5982C8

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

Preview Lab → · Contrast checker → · Palette generator →

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