#5975CF#5975CF

#5975CF is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.4% C 0.142 H 268.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5975CF
RGBrgb(89, 117, 207)
HSLhsl(226, 55%, 58%)
HSVhsv(226, 57%, 81%)
CMYKcmyk(57%, 43.5%, 0%, 18.8%)
CIE-LABlab(51.09, 16.58, -49.74)
CIE-LCHlch(51.09, 52.43, 288.44°)
OKLaboklab(58.43% -0.0031 -0.1416)
OKLCHoklch(58.43% 0.142 268.7)
XYZxyz(21.7398, 19.3497, 61.6086)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975CF #CFB359
analogous
#59B0CF #5975CF #7859CF
triadic
#5975CF #CF5975 #75CF59
tetradic
#5975CF #CF59B0 #CFB359 #59CF78
square
#5975CF #CF59B0 #CFB359 #59CF78
split-complementary
#5975CF #CF7859 #B0CF59
monochromatic
#273E87 #3553B6 #5975CF #889CDD #B8C4EA

Accessibility & contrast

On white

4.31
#5975CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5975CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975CF#FFFFFF#000000##000000
##5975CF1.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)
#4D7FD2
Deuteranopia (green-blind)
#3E75CD
Tritanopia (blue-blind)
#018998
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5975cf;
/* rgb */ color: rgb(89, 117, 207);
/* oklch */ color: oklch(58.4% 0.142 268.7);
Tailwind
colors: {
  custom: {
    50: '#919cde',
    500: '#5975cf',
    950: '#000000',
  },
}
SCSS
$custom: #5975cf;
$custom-light: #919cde;
$custom-dark: #000000;
JSON
{
  "hex": "#5975cf",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 207
  },
  "hsl": {
    "h": 225.763,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.1416,
    "h": 268.7
  },
  "luminance": 0.19351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5975CF

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

Preview Lab → · Contrast checker → · Palette generator →

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