#5975CD#5975CD

#5975CD is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.3% C 0.139 H 268.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5975CD
RGBrgb(89, 117, 205)
HSLhsl(226, 54%, 58%)
HSVhsv(226, 57%, 80%)
CMYKcmyk(56.6%, 42.9%, 0%, 19.6%)
CIE-LABlab(50.98, 15.92, -48.78)
CIE-LCHlch(50.98, 51.32, 288.08°)
OKLaboklab(58.31% -0.0035 -0.1388)
OKLCHoklch(58.31% 0.139 268.6)
XYZxyz(21.4969, 19.2526, 60.3291)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975CD #CDB159
analogous
#59AFCD #5975CD #7759CD
triadic
#5975CD #CD5975 #75CD59
tetradic
#5975CD #CD59AF #CDB159 #59CD77
square
#5975CD #CD59AF #CDB159 #59CD77
split-complementary
#5975CD #CD7759 #AFCD59
monochromatic
#283E84 #3654B3 #5975CD #889CDB #B7C3E9

Accessibility & contrast

On white

4.33
#5975CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5975CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975CD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975CD#FFFFFF#000000##000000
##5975CD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#098897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5975cd;
/* rgb */ color: rgb(89, 117, 205);
/* oklch */ color: oklch(58.3% 0.139 268.6);
Tailwind
colors: {
  custom: {
    50: '#909cdd',
    500: '#5975cd',
    950: '#000000',
  },
}
SCSS
$custom: #5975cd;
$custom-light: #909cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5975cd",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 225.517,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.1388,
    "h": 268.6
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#5975CD
secondary
#D8CDAA
accent
#BA4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5975CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5975CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva