#5972BD#5972BD

#5972BD is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.7% C 0.120 H 268.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5972BD
RGBrgb(89, 114, 189)
HSLhsl(225, 43%, 55%)
HSVhsv(225, 53%, 74%)
CMYKcmyk(52.9%, 39.7%, 0%, 25.9%)
CIE-LABlab(49.29, 12.56, -42.30)
CIE-LCHlch(49.29, 44.13, 286.53°)
OKLaboklab(56.73% -0.0032 -0.1198)
OKLCHoklch(56.73% 0.12 268.5)
XYZxyz(19.3194, 17.8312, 50.5580)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972BD #BDA459
analogous
#59A4BD #5972BD #7259BD
triadic
#5972BD #BD5972 #72BD59
tetradic
#5972BD #BD59A4 #BDA459 #59BD72
square
#5972BD #BD59A4 #BDA459 #59BD72
split-complementary
#5972BD #BD7259 #A4BD59
monochromatic
#2C3D6F #3E559B #5972BD #8597CE #B1BCE0

Accessibility & contrast

On white

4.60
#5972BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5972BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5972BD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972BD#FFFFFF#000000##FFFFFF
##5972BD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#28828E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5972bd;
/* rgb */ color: rgb(89, 114, 189);
/* oklch */ color: oklch(56.7% 0.120 268.5);
Tailwind
colors: {
  custom: {
    50: '#8e9ad1',
    500: '#5972bd',
    950: '#000000',
  },
}
SCSS
$custom: #5972bd;
$custom-light: #8e9ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#5972bd",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 225,
    "s": 43.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.11985,
    "h": 268.5
  },
  "luminance": 0.17833
}

Semantic roles & 50–950 ramp

primary
#5972BD
secondary
#CEC3A4
accent
#B355D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5972BD

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

Preview Lab → · Contrast checker → · Palette generator →

#5972BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva