#5975E9#5975E9

#5975E9 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.177 H 270.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5975E9
RGBrgb(89, 117, 233)
HSLhsl(228, 77%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(61.8%, 49.8%, 0%, 8.6%)
CIE-LABlab(52.65, 25.24, -61.92)
CIE-LCHlch(52.65, 66.87, 292.18°)
OKLaboklab(60.12% 0.0003 -0.1774)
OKLCHoklch(60.12% 0.177 270.1)
XYZxyz(25.1841, 20.7275, 79.7486)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975E9 #E9CD59
analogous
#59BDE9 #5975E9 #8559E9
triadic
#5975E9 #E95975 #75E959
tetradic
#5975E9 #E959BD #E9CD59 #59E985
square
#5975E9 #E959BD #E9CD59 #59E985
split-complementary
#5975E9 #E98559 #BDE959
monochromatic
#1735B0 #2348E2 #5975E9 #8FA2F0 #C5CFF7

Accessibility & contrast

On white

4.08
#5975E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5975E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975E9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975E9#FFFFFF#000000##000000
##5975E91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584ED
Deuteranopia (green-blind)
#0D78E7
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5975e9;
/* rgb */ color: rgb(89, 117, 233);
/* oklch */ color: oklch(60.1% 0.177 270.1);
Tailwind
colors: {
  custom: {
    50: '#959cf1',
    500: '#5975e9',
    950: '#000000',
  },
}
SCSS
$custom: #5975e9;
$custom-light: #959cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5975e9",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 233
  },
  "hsl": {
    "h": 228.333,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.17737,
    "h": 270.1
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#5975E9
secondary
#E9DFB5
accent
#B10DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5975E9

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

Preview Lab → · Contrast checker → · Palette generator →

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