#5976CB#5976CB

#5976CB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.4% C 0.135 H 267.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5976CB
RGBrgb(89, 118, 203)
HSLhsl(225, 52%, 57%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(56.2%, 41.9%, 0%, 20.4%)
CIE-LABlab(51.14, 14.65, -47.39)
CIE-LCHlch(51.14, 49.60, 287.18°)
OKLaboklab(58.4% -0.0049 -0.1347)
OKLCHoklch(58.4% 0.135 267.9)
XYZxyz(21.3741, 19.3909, 59.1048)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5976CB #CBAE59
analogous
#59AFCB #5976CB #7559CB
triadic
#5976CB #CB5976 #76CB59
tetradic
#5976CB #CB59AF #CBAE59 #59CB75
square
#5976CB #CB59AF #CBAE59 #59CB75
split-complementary
#5976CB #CB7559 #AFCB59
monochromatic
#283F81 #3756B0 #5976CB #889CDA #B6C3E8

Accessibility & contrast

On white

4.30
#5976CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5976CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5976CB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5976CB#FFFFFF#000000##000000
##5976CB1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCE
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#0F8996
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5976cb;
/* rgb */ color: rgb(89, 118, 203);
/* oklch */ color: oklch(58.4% 0.135 267.9);
Tailwind
colors: {
  custom: {
    50: '#909ddb',
    500: '#5976cb',
    950: '#000000',
  },
}
SCSS
$custom: #5976cb;
$custom-light: #909ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5976cb",
  "rgb": {
    "r": 89,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 224.737,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58397,
    "c": 0.13475,
    "h": 267.9
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#5976CB
secondary
#D7CBA9
accent
#B74CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5976CB

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

Preview Lab → · Contrast checker → · Palette generator →

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