#5975CA#5975CA

#5975CA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.1% C 0.135 H 268.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5975CA
RGBrgb(89, 117, 202)
HSLhsl(225, 52%, 57%)
HSVhsv(225, 56%, 79%)
CMYKcmyk(55.9%, 42.1%, 0%, 20.8%)
CIE-LABlab(50.81, 14.94, -47.34)
CIE-LCHlch(50.81, 49.64, 287.51°)
OKLaboklab(58.13% -0.004 -0.1345)
OKLCHoklch(58.13% 0.135 268.3)
XYZxyz(21.1382, 19.1091, 58.4402)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975CA #CAAE59
analogous
#59ADCA #5975CA #7659CA
triadic
#5975CA #CA5975 #75CA59
tetradic
#5975CA #CA59AD #CAAE59 #59CA76
square
#5975CA #CA59AD #CAAE59 #59CA76
split-complementary
#5975CA #CA7659 #ADCA59
monochromatic
#293E80 #3855AE #5975CA #879CD9 #B6C2E8

Accessibility & contrast

On white

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

On black

4.82
#5975CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975CA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975CA#FFFFFF#000000##000000
##5975CA1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECD
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#128896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5975ca;
/* rgb */ color: rgb(89, 117, 202);
/* oklch */ color: oklch(58.1% 0.135 268.3);
Tailwind
colors: {
  custom: {
    50: '#909cda',
    500: '#5975ca',
    950: '#000000',
  },
}
SCSS
$custom: #5975ca;
$custom-light: #909cda;
$custom-dark: #000000;
JSON
{
  "hex": "#5975ca",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 202
  },
  "hsl": {
    "h": 225.133,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.13458,
    "h": 268.3
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5975CA

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

Preview Lab → · Contrast checker → · Palette generator →

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