#5974CD#5974CD

#5974CD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.140 H 269.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5974CD
RGBrgb(89, 116, 205)
HSLhsl(226, 54%, 58%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(56.6%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.71, 16.54, -49.21)
CIE-LCHlch(50.71, 51.92, 288.58°)
OKLaboklab(58.1% -0.0024 -0.14)
OKLCHoklch(58.1% 0.14 269)
XYZxyz(21.3810, 19.0208, 60.2904)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974CD #CDB259
analogous
#59AECD #5974CD #7859CD
triadic
#5974CD #CD5974 #74CD59
tetradic
#5974CD #CD59AE #CDB259 #59CD78
square
#5974CD #CD59AE #CDB259 #59CD78
split-complementary
#5974CD #CD7859 #AECD59
monochromatic
#283D84 #3653B3 #5974CD #889BDB #B7C3E9

Accessibility & contrast

On white

4.37
#5974CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5974CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974CD#FFFFFF#000000##000000
##5974CD1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#098896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5974cd;
/* rgb */ color: rgb(89, 116, 205);
/* oklch */ color: oklch(58.1% 0.140 269.0);
Tailwind
colors: {
  custom: {
    50: '#909bdd',
    500: '#5974cd',
    950: '#000000',
  },
}
SCSS
$custom: #5974cd;
$custom-light: #909bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5974cd",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 226.034,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58103,
    "c": 0.14005,
    "h": 269
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#5974CD
secondary
#D8CDAA
accent
#BB4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5974CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5974CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva