#5975CB#5975CB

#5975CB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.2% C 0.136 H 268.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5975CB
RGBrgb(89, 117, 203)
HSLhsl(225, 52%, 57%)
HSVhsv(225, 56%, 80%)
CMYKcmyk(56.2%, 42.4%, 0%, 20.4%)
CIE-LABlab(50.87, 15.27, -47.82)
CIE-LCHlch(50.87, 50.20, 287.71°)
OKLaboklab(58.19% -0.0038 -0.1359)
OKLCHoklch(58.19% 0.136 268.4)
XYZxyz(21.2570, 19.1566, 59.0658)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975CB #CBAF59
analogous
#59AECB #5975CB #7659CB
triadic
#5975CB #CB5975 #75CB59
tetradic
#5975CB #CB59AE #CBAF59 #59CB76
square
#5975CB #CB59AE #CBAF59 #59CB76
split-complementary
#5975CB #CB7659 #AECB59
monochromatic
#283E81 #3755B0 #5975CB #889CDA #B6C2E8

Accessibility & contrast

On white

4.35
#5975CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5975CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975CB#FFFFFF#000000##000000
##5975CB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#108896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5975cb;
/* rgb */ color: rgb(89, 117, 203);
/* oklch */ color: oklch(58.2% 0.136 268.4);
Tailwind
colors: {
  custom: {
    50: '#909cdb',
    500: '#5975cb',
    950: '#000000',
  },
}
SCSS
$custom: #5975cb;
$custom-light: #909cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5975cb",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 203
  },
  "hsl": {
    "h": 225.263,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.13599,
    "h": 268.4
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#5975CB
secondary
#D7CCA9
accent
#B84CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5975CB

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

Preview Lab → · Contrast checker → · Palette generator →

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