#5974C8#5974C8

#5974C8 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.8% C 0.133 H 268.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5974C8
RGBrgb(89, 116, 200)
HSLhsl(225, 50%, 57%)
HSVhsv(225, 56%, 78%)
CMYKcmyk(55.5%, 42%, 0%, 21.6%)
CIE-LABlab(50.43, 14.90, -46.80)
CIE-LCHlch(50.43, 49.12, 287.66°)
OKLaboklab(57.8% -0.0033 -0.133)
OKLCHoklch(57.8% 0.133 268.6)
XYZxyz(20.7871, 18.7832, 57.1625)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974C8 #C8AD59
analogous
#59ACC8 #5974C8 #7659C8
triadic
#5974C8 #C85974 #74C859
tetradic
#5974C8 #C859AC #C8AD59 #59C876
square
#5974C8 #C859AC #C8AD59 #59C876
split-complementary
#5974C8 #C87659 #ACC859
monochromatic
#293E7D #3955AB #5974C8 #879AD7 #B5C1E6

Accessibility & contrast

On white

4.41
#5974C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5974C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974C8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974C8#FFFFFF#000000##000000
##5974C81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#178694
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5974c8;
/* rgb */ color: rgb(89, 116, 200);
/* oklch */ color: oklch(57.8% 0.133 268.6);
Tailwind
colors: {
  custom: {
    50: '#909bd9',
    500: '#5974c8',
    950: '#000000',
  },
}
SCSS
$custom: #5974c8;
$custom-light: #909bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5974c8",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 225.405,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.13301,
    "h": 268.6
  },
  "luminance": 0.18785
}

Semantic roles & 50–950 ramp

primary
#5974C8
secondary
#D5CAA8
accent
#B84EDA
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5974C8

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

Preview Lab → · Contrast checker → · Palette generator →

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