#5975ED#5975ED

#5975ED is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.4% C 0.183 H 270.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5975ED
RGBrgb(89, 117, 237)
HSLhsl(229, 80%, 64%)
HSVhsv(229, 62%, 93%)
CMYKcmyk(62.4%, 50.6%, 0%, 7.1%)
CIE-LABlab(52.90, 26.58, -63.75)
CIE-LCHlch(52.90, 69.07, 292.64°)
OKLaboklab(60.39% 0.0007 -0.1827)
OKLCHoklch(60.39% 0.183 270.2)
XYZxyz(25.7620, 20.9586, 82.7921)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975ED #EDD159
analogous
#59BFED #5975ED #8759ED
triadic
#5975ED #ED5975 #75ED59
tetradic
#5975ED #ED59BF #EDD159 #59ED87
square
#5975ED #ED59BF #EDD159 #59ED87
split-complementary
#5975ED #ED8759 #BFED59
monochromatic
#1433B8 #2247E7 #5975ED #90A3F3 #C7D1F9

Accessibility & contrast

On white

4.04
#5975ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5975ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975ED
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975ED#FFFFFF#000000##000000
##5975ED1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F1
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5975ed;
/* rgb */ color: rgb(89, 117, 237);
/* oklch */ color: oklch(60.4% 0.183 270.2);
Tailwind
colors: {
  custom: {
    50: '#959cf4',
    500: '#5975ed',
    950: '#000000',
  },
}
SCSS
$custom: #5975ed;
$custom-light: #959cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5975ed",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 237
  },
  "hsl": {
    "h": 228.649,
    "s": 80.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.60394,
    "c": 0.18274,
    "h": 270.2
  },
  "luminance": 0.20961
}

Semantic roles & 50–950 ramp

primary
#5975ED
secondary
#EBE1B7
accent
#B509DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5975ED

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

Preview Lab → · Contrast checker → · Palette generator →

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