#7971DD#7971DD

#7971DD is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.7% C 0.159 H 283.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7971DD
RGBrgb(121, 113, 221)
HSLhsl(244, 61%, 65%)
HSVhsv(244, 49%, 87%)
CMYKcmyk(45.2%, 48.9%, 0%, 13.3%)
CIE-LABlab(53.05, 30.38, -54.42)
CIE-LCHlch(53.05, 62.32, 299.18°)
OKLaboklab(60.74% 0.0384 -0.1546)
OKLCHoklch(60.74% 0.159 283.9)
XYZxyz(26.8376, 21.0945, 71.0501)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7971DD #D5DD71
analogous
#719FDD #7971DD #AF71DD
triadic
#7971DD #DD7971 #71DD79
tetradic
#7971DD #DD719F #D5DD71 #71DDAF
square
#7971DD #DD719F #D5DD71 #71DDAF
split-complementary
#7971DD #DDAF71 #9FDD71
monochromatic
#3229AB #4A40D1 #7971DD #A8A2E9 #D6D4F5

Accessibility & contrast

On white

4.02
#7971DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7971DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7971DD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7971DD#FFFFFF#000000##000000
##7971DD1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4282E1
Deuteranopia (green-blind)
#3E7BDB
Tritanopia (blue-blind)
#58889D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7971dd;
/* rgb */ color: rgb(121, 113, 221);
/* oklch */ color: oklch(60.7% 0.159 283.9);
Tailwind
colors: {
  custom: {
    50: '#a59ae8',
    500: '#7971dd',
    950: '#000000',
  },
}
SCSS
$custom: #7971dd;
$custom-light: #a59ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7971dd",
  "rgb": {
    "r": 121,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 244.444,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.15927,
    "h": 283.9
  },
  "luminance": 0.21096
}

Semantic roles & 50–950 ramp

primary
#7971DD
secondary
#E4E7C3
accent
#C91CBC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7971DD

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

Preview Lab → · Contrast checker → · Palette generator →

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