#5974CE#5974CE

#5974CE is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.141 H 269.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5974CE
RGBrgb(89, 116, 206)
HSLhsl(226, 54%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(56.8%, 43.7%, 0%, 19.2%)
CIE-LABlab(50.77, 16.87, -49.69)
CIE-LCHlch(50.77, 52.48, 288.75°)
OKLaboklab(58.17% -0.0022 -0.1414)
OKLCHoklch(58.17% 0.141 269.1)
XYZxyz(21.5021, 19.0692, 60.9282)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974CE #CEB359
analogous
#59AECE #5974CE #7859CE
triadic
#5974CE #CE5974 #74CE59
tetradic
#5974CE #CE59AE #CEB359 #59CE78
square
#5974CE #CE59AE #CEB359 #59CE78
split-complementary
#5974CE #CE7859 #AECE59
monochromatic
#273D85 #3553B5 #5974CE #889CDC #B8C3EA

Accessibility & contrast

On white

4.36
#5974CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5974CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974CE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974CE#FFFFFF#000000##000000
##5974CE1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#068897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5974ce;
/* rgb */ color: rgb(89, 116, 206);
/* oklch */ color: oklch(58.2% 0.141 269.1);
Tailwind
colors: {
  custom: {
    50: '#919bdd',
    500: '#5974ce',
    950: '#000000',
  },
}
SCSS
$custom: #5974ce;
$custom-light: #919bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5974ce",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 226.154,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.14146,
    "h": 269.1
  },
  "luminance": 0.19071
}

Semantic roles & 50–950 ramp

primary
#5974CE
secondary
#D9CEAA
accent
#BC4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5974CE

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

Preview Lab → · Contrast checker → · Palette generator →

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