#5972CF#5972CF

#5972CF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.8% C 0.145 H 270.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5972CF
RGBrgb(89, 114, 207)
HSLhsl(227, 55%, 58%)
HSVhsv(227, 57%, 81%)
CMYKcmyk(57%, 44.9%, 0%, 18.8%)
CIE-LABlab(50.29, 18.43, -51.03)
CIE-LCHlch(50.29, 54.25, 289.86°)
OKLaboklab(57.82% 0.0001 -0.1454)
OKLCHoklch(57.82% 0.145 270)
XYZxyz(21.3959, 18.6618, 61.4940)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5972CF #CFB659
analogous
#59ADCF #5972CF #7B59CF
triadic
#5972CF #CF5972 #72CF59
tetradic
#5972CF #CF59AD #CFB659 #59CF7B
square
#5972CF #CF59AD #CFB659 #59CF7B
split-complementary
#5972CF #CF7B59 #ADCF59
monochromatic
#273B87 #3550B6 #5972CF #889ADD #B8C3EA

Accessibility & contrast

On white

4.44
#5972CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#5972CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5972CF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5972CF#FFFFFF#000000##000000
##5972CF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD2
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#038796
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5972cf;
/* rgb */ color: rgb(89, 114, 207);
/* oklch */ color: oklch(57.8% 0.145 270.0);
Tailwind
colors: {
  custom: {
    50: '#919ade',
    500: '#5972cf',
    950: '#000000',
  },
}
SCSS
$custom: #5972cf;
$custom-light: #919ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5972cf",
  "rgb": {
    "r": 89,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 227.288,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.14538,
    "h": 270
  },
  "luminance": 0.18663
}

Semantic roles & 50–950 ramp

primary
#5972CF
secondary
#D9CFAA
accent
#BF49DE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5972CF

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

Preview Lab → · Contrast checker → · Palette generator →

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