#5976CA#5976CA

#5976CA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.133 H 267.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5976CA
RGBrgb(89, 118, 202)
HSLhsl(225, 52%, 57%)
HSVhsv(225, 56%, 79%)
CMYKcmyk(55.9%, 41.6%, 0%, 20.8%)
CIE-LABlab(51.09, 14.33, -46.90)
CIE-LCHlch(51.09, 49.04, 286.98°)
OKLaboklab(58.34% -0.0051 -0.1332)
OKLCHoklch(58.34% 0.133 267.8)
XYZxyz(21.2554, 19.3434, 58.4792)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976CA #CAAD59
analogous
#59AECA #5976CA #7559CA
triadic
#5976CA #CA5976 #76CA59
tetradic
#5976CA #CA59AE #CAAD59 #59CA75
square
#5976CA #CA59AE #CAAD59 #59CA75
split-complementary
#5976CA #CA7559 #AECA59
monochromatic
#293F80 #3856AE #5976CA #879CD9 #B6C3E8

Accessibility & contrast

On white

4.31
#5976CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5976CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976CA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976CA#FFFFFF#000000##000000
##5976CA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#128896
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5976ca;
/* rgb */ color: rgb(89, 118, 202);
/* oklch */ color: oklch(58.3% 0.133 267.8);
Tailwind
colors: {
  custom: {
    50: '#909dda',
    500: '#5976ca',
    950: '#000000',
  },
}
SCSS
$custom: #5976ca;
$custom-light: #909dda;
$custom-dark: #000000;
JSON
{
  "hex": "#5976ca",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 224.602,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58337,
    "c": 0.13335,
    "h": 267.8
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#5976CA
secondary
#D6CBA8
accent
#B74DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5976CA

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

Preview Lab → · Contrast checker → · Palette generator →

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