#5976CF#5976CF

#5976CF is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.6% C 0.140 H 268.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5976CF
RGBrgb(89, 118, 207)
HSLhsl(225, 55%, 58%)
HSVhsv(225, 57%, 81%)
CMYKcmyk(57%, 43%, 0%, 18.8%)
CIE-LABlab(51.36, 15.97, -49.31)
CIE-LCHlch(51.36, 51.83, 287.94°)
OKLaboklab(58.64% -0.0042 -0.1403)
OKLCHoklch(58.64% 0.14 268.3)
XYZxyz(21.8570, 19.5840, 61.6477)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976CF #CFB259
analogous
#59B1CF #5976CF #7759CF
triadic
#5976CF #CF5976 #76CF59
tetradic
#5976CF #CF59B1 #CFB259 #59CF77
square
#5976CF #CF59B1 #CFB259 #59CF77
split-complementary
#5976CF #CF7759 #B1CF59
monochromatic
#273E87 #3554B6 #5976CF #889DDD #B8C4EA

Accessibility & contrast

On white

4.27
#5976CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5976CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976CF#FFFFFF#000000##000000
##5976CF1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#3F75CD
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5976cf;
/* rgb */ color: rgb(89, 118, 207);
/* oklch */ color: oklch(58.6% 0.140 268.3);
Tailwind
colors: {
  custom: {
    50: '#919dde',
    500: '#5976cf',
    950: '#000000',
  },
}
SCSS
$custom: #5976cf;
$custom-light: #919dde;
$custom-dark: #000000;
JSON
{
  "hex": "#5976cf",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 207
  },
  "hsl": {
    "h": 225.254,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5864,
    "c": 0.14036,
    "h": 268.3
  },
  "luminance": 0.19586
}

Semantic roles & 50–950 ramp

primary
#5976CF
secondary
#D9CEAA
accent
#BA49DE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5976CF

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

Preview Lab → · Contrast checker → · Palette generator →

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