#5972BC#5972BC

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

Color values

HEX#5972BC
RGBrgb(89, 114, 188)
HSLhsl(225, 42%, 54%)
HSVhsv(225, 53%, 74%)
CMYKcmyk(52.7%, 39.4%, 0%, 26.3%)
CIE-LABlab(49.24, 12.24, -41.81)
CIE-LCHlch(49.24, 43.56, 286.31°)
OKLaboklab(56.67% -0.0034 -0.1184)
OKLCHoklch(56.67% 0.118 268.4)
XYZxyz(19.2113, 17.7880, 49.9883)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972BC #BCA359
analogous
#59A4BC #5972BC #7259BC
triadic
#5972BC #BC5972 #72BC59
tetradic
#5972BC #BC59A4 #BCA359 #59BC72
square
#5972BC #BC59A4 #BCA359 #59BC72
split-complementary
#5972BC #BC7259 #A4BC59
monochromatic
#2C3D6E #3E559A #5972BC #8597CE #B0BCDF

Accessibility & contrast

On white

4.61
#5972BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5972BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5972BC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972BC#FFFFFF#000000##FFFFFF
##5972BC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547ABF
Deuteranopia (green-blind)
#4971BA
Tritanopia (blue-blind)
#29828E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5972bc;
/* rgb */ color: rgb(89, 114, 188);
/* oklch */ color: oklch(56.7% 0.118 268.4);
Tailwind
colors: {
  custom: {
    50: '#8e9ad0',
    500: '#5972bc',
    950: '#000000',
  },
}
SCSS
$custom: #5972bc;
$custom-light: #8e9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5972bc",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 224.848,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56669,
    "c": 0.11842,
    "h": 268.4
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#5972BC
secondary
#CDC3A3
accent
#B356D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5972BC

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

Preview Lab → · Contrast checker → · Palette generator →

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