#5974CB#5974CB

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

Color values

HEX#5974CB
RGBrgb(89, 116, 203)
HSLhsl(226, 52%, 57%)
HSVhsv(226, 56%, 80%)
CMYKcmyk(56.2%, 42.9%, 0%, 20.4%)
CIE-LABlab(50.60, 15.88, -48.25)
CIE-LCHlch(50.60, 50.80, 288.22°)
OKLaboklab(57.98% -0.0027 -0.1372)
OKLCHoklch(57.98% 0.137 268.9)
XYZxyz(21.1411, 18.9248, 59.0271)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974CB #CBB059
analogous
#59ADCB #5974CB #7759CB
triadic
#5974CB #CB5974 #74CB59
tetradic
#5974CB #CB59AD #CBB059 #59CB77
square
#5974CB #CB59AD #CBB059 #59CB77
split-complementary
#5974CB #CB7759 #ADCB59
monochromatic
#283D81 #3754B0 #5974CB #889BDA #B6C2E8

Accessibility & contrast

On white

4.39
#5974CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5974CB#FFFFFF#000000##000000
##5974CB1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECE
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#108795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5974cb;
/* rgb */ color: rgb(89, 116, 203);
/* oklch */ color: oklch(58.0% 0.137 268.9);
Tailwind
colors: {
  custom: {
    50: '#909bdb',
    500: '#5974cb',
    950: '#000000',
  },
}
SCSS
$custom: #5974cb;
$custom-light: #909bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5974cb",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 225.789,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.13724,
    "h": 268.9
  },
  "luminance": 0.18926
}

Semantic roles & 50–950 ramp

primary
#5974CB
secondary
#D7CCA9
accent
#BA4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5974CB

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

Preview Lab → · Contrast checker → · Palette generator →

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