#5974CF#5974CF

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

Color values

HEX#5974CF
RGBrgb(89, 116, 207)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(57%, 44%, 0%, 18.8%)
CIE-LABlab(50.83, 17.20, -50.17)
CIE-LCHlch(50.83, 53.04, 288.92°)
OKLaboklab(58.23% -0.002 -0.1428)
OKLCHoklch(58.23% 0.143 269.2)
XYZxyz(21.6239, 19.1180, 61.5700)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974CF #CFB459
analogous
#59AFCF #5974CF #7959CF
triadic
#5974CF #CF5974 #74CF59
tetradic
#5974CF #CF59AF #CFB459 #59CF79
square
#5974CF #CF59AF #CFB459 #59CF79
split-complementary
#5974CF #CF7959 #AFCF59
monochromatic
#273D87 #3552B6 #5974CF #889CDD #B8C4EA

Accessibility & contrast

On white

4.35
#5974CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5974CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974CF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974CF#FFFFFF#000000##000000
##5974CF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7FD2
Deuteranopia (green-blind)
#3C74CD
Tritanopia (blue-blind)
#028897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5974cf;
/* rgb */ color: rgb(89, 116, 207);
/* oklch */ color: oklch(58.2% 0.143 269.2);
Tailwind
colors: {
  custom: {
    50: '#919bde',
    500: '#5974cf',
    950: '#000000',
  },
}
SCSS
$custom: #5974cf;
$custom-light: #919bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5974cf",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 226.271,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.14285,
    "h": 269.2
  },
  "luminance": 0.1912
}

Semantic roles & 50–950 ramp

primary
#5974CF
secondary
#D9CFAA
accent
#BC49DE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5974CF

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

Preview Lab → · Contrast checker → · Palette generator →

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