#5974CA#5974CA

#5974CA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.9% C 0.136 H 268.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5974CA
RGBrgb(89, 116, 202)
HSLhsl(226, 52%, 57%)
HSVhsv(226, 56%, 79%)
CMYKcmyk(55.9%, 42.6%, 0%, 20.8%)
CIE-LABlab(50.54, 15.55, -47.77)
CIE-LCHlch(50.54, 50.24, 288.04°)
OKLaboklab(57.92% -0.0029 -0.1358)
OKLCHoklch(57.92% 0.136 268.8)
XYZxyz(21.0223, 18.8773, 58.4016)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974CA #CAAF59
analogous
#59ACCA #5974CA #7759CA
triadic
#5974CA #CA5974 #74CA59
tetradic
#5974CA #CA59AC #CAAF59 #59CA77
square
#5974CA #CA59AC #CAAF59 #59CA77
split-complementary
#5974CA #CA7759 #ACCA59
monochromatic
#293E80 #3854AE #5974CA #879BD9 #B6C2E8

Accessibility & contrast

On white

4.40
#5974CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5974CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974CA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974CA#FFFFFF#000000##000000
##5974CA1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#138795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5974ca;
/* rgb */ color: rgb(89, 116, 202);
/* oklch */ color: oklch(57.9% 0.136 268.8);
Tailwind
colors: {
  custom: {
    50: '#909bda',
    500: '#5974ca',
    950: '#000000',
  },
}
SCSS
$custom: #5974ca;
$custom-light: #909bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5974ca",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 225.664,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.13583,
    "h": 268.8
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

primary
#5974CA
secondary
#D6CBA8
accent
#B94DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5974CA

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

Preview Lab → · Contrast checker → · Palette generator →

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