#5972BF#5972BF

#5972BF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.8% C 0.123 H 268.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5972BF
RGBrgb(89, 114, 191)
HSLhsl(225, 44%, 55%)
HSVhsv(225, 53%, 75%)
CMYKcmyk(53.4%, 40.3%, 0%, 25.1%)
CIE-LABlab(49.40, 13.20, -43.28)
CIE-LCHlch(49.40, 45.25, 286.96°)
OKLaboklab(56.84% -0.0027 -0.1227)
OKLCHoklch(56.84% 0.123 268.7)
XYZxyz(19.5380, 17.9187, 51.7092)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972BF #BFA659
analogous
#59A5BF #5972BF #7359BF
triadic
#5972BF #BF5972 #72BF59
tetradic
#5972BF #BF59A5 #BFA659 #59BF73
square
#5972BF #BF59A5 #BFA659 #59BF73
split-complementary
#5972BF #BF7359 #A5BF59
monochromatic
#2C3D72 #3D559E #5972BF #8598D0 #B1BDE1

Accessibility & contrast

On white

4.58
#5972BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5972BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972BF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972BF#FFFFFF#000000##000000
##5972BF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#26838F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5972bf;
/* rgb */ color: rgb(89, 114, 191);
/* oklch */ color: oklch(56.8% 0.123 268.7);
Tailwind
colors: {
  custom: {
    50: '#8f9ad3',
    500: '#5972bf',
    950: '#000000',
  },
}
SCSS
$custom: #5972bf;
$custom-light: #8f9ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5972bf",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 225.294,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.12271,
    "h": 268.7
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#5972BF
secondary
#CFC5A4
accent
#B554D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5972BF

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

Preview Lab → · Contrast checker → · Palette generator →

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