#5974CC#5974CC

#5974CC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.0% C 0.139 H 268.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5974CC
RGBrgb(89, 116, 204)
HSLhsl(226, 53%, 57%)
HSVhsv(226, 56%, 80%)
CMYKcmyk(56.4%, 43.1%, 0%, 20%)
CIE-LABlab(50.66, 16.21, -48.73)
CIE-LCHlch(50.66, 51.36, 288.40°)
OKLaboklab(58.04% -0.0026 -0.1386)
OKLCHoklch(58.04% 0.139 268.9)
XYZxyz(21.2607, 18.9726, 59.6568)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974CC #CCB159
analogous
#59ADCC #5974CC #7859CC
triadic
#5974CC #CC5974 #74CC59
tetradic
#5974CC #CC59AD #CCB159 #59CC78
square
#5974CC #CC59AD #CCB159 #59CC78
split-complementary
#5974CC #CC7859 #ADCC59
monochromatic
#283D83 #3653B1 #5974CC #889BDA #B7C2E9

Accessibility & contrast

On white

4.38
#5974CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5974CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974CC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974CC#FFFFFF#000000##000000
##5974CC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#0D8796
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5974cc;
/* rgb */ color: rgb(89, 116, 204);
/* oklch */ color: oklch(58.0% 0.139 268.9);
Tailwind
colors: {
  custom: {
    50: '#909bdc',
    500: '#5974cc',
    950: '#000000',
  },
}
SCSS
$custom: #5974cc;
$custom-light: #909bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5974cc",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 225.913,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58042,
    "c": 0.13864,
    "h": 268.9
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#5974CC
secondary
#D8CDA9
accent
#BA4BDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5974CC

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

Preview Lab → · Contrast checker → · Palette generator →

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