#7972CC#7972CC

#7972CC is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.9% C 0.134 H 285.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7972CC
RGBrgb(121, 114, 204)
HSLhsl(245, 47%, 62%)
HSVhsv(245, 44%, 80%)
CMYKcmyk(40.7%, 44.1%, 0%, 20%)
CIE-LABlab(52.35, 24.88, -45.90)
CIE-LCHlch(52.35, 52.21, 298.46°)
OKLaboklab(59.9% 0.035 -0.1296)
OKLCHoklch(59.9% 0.134 285.1)
XYZxyz(24.7985, 20.4583, 59.7573)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972CC #C5CC72
analogous
#7298CC #7972CC #A672CC
triadic
#7972CC #CC7972 #72CC79
tetradic
#7972CC #CC7298 #C5CC72 #72CCA6
square
#7972CC #CC7298 #C5CC72 #72CCA6
split-complementary
#7972CC #CCA672 #98CC72
monochromatic
#3B3490 #4E45BC #7972CC #A49FDC #CECCED

Accessibility & contrast

On white

4.12
#7972CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7972CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972CC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972CC#FFFFFF#000000##000000
##7972CC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180CF
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#618495
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7972cc;
/* rgb */ color: rgb(121, 114, 204);
/* oklch */ color: oklch(59.9% 0.134 285.1);
Tailwind
colors: {
  custom: {
    50: '#a39adc',
    500: '#7972cc',
    950: '#000000',
  },
}
SCSS
$custom: #7972cc;
$custom-light: #a39adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7972cc",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 244.667,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59902,
    "c": 0.13427,
    "h": 285.1
  },
  "luminance": 0.20459
}

Semantic roles & 50–950 ramp

primary
#7972CC
secondary
#DBDDBC
accent
#BA2BAF
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7972CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7972CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva