#5975DD#5975DD

#5975DD is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.3% C 0.161 H 269.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5975DD
RGBrgb(89, 117, 221)
HSLhsl(227, 66%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(59.7%, 47.1%, 0%, 13.3%)
CIE-LABlab(51.91, 21.23, -56.37)
CIE-LCHlch(51.91, 60.23, 290.63°)
OKLaboklab(59.32% -0.001 -0.161)
OKLCHoklch(59.32% 0.161 269.6)
XYZxyz(23.5279, 20.0650, 71.0257)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975DD #DDC159
analogous
#59B7DD #5975DD #7F59DD
triadic
#5975DD #DD5975 #75DD59
tetradic
#5975DD #DD59B7 #DDC159 #59DD7F
square
#5975DD #DD59B7 #DDC159 #59DD7F
split-complementary
#5975DD #DD7F59 #B7DD59
monochromatic
#203A9C #2A4DCF #5975DD #8C9FE7 #BFC9F2

Accessibility & contrast

On white

4.19
#5975DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5975DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975DD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975DD#FFFFFF#000000##000000
##5975DD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#2C76DB
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5975dd;
/* rgb */ color: rgb(89, 117, 221);
/* oklch */ color: oklch(59.3% 0.161 269.6);
Tailwind
colors: {
  custom: {
    50: '#939ce8',
    500: '#5975dd',
    950: '#000000',
  },
}
SCSS
$custom: #5975dd;
$custom-light: #939ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5975dd",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 227.273,
    "s": 66,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59321,
    "c": 0.16103,
    "h": 269.6
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#5975DD
secondary
#E2D7B0
accent
#A718CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5975DD

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

Preview Lab → · Contrast checker → · Palette generator →

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