#7972BF#7972BF

#7972BF is a mid, moderate blue. Relative luminance 0.199; OKLCH L 59.2% C 0.116 H 286.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7972BF
RGBrgb(121, 114, 191)
HSLhsl(245, 38%, 60%)
HSVhsv(245, 40%, 75%)
CMYKcmyk(36.6%, 40.3%, 0%, 25.1%)
CIE-LABlab(51.68, 21.22, -39.53)
CIE-LCHlch(51.68, 44.87, 298.23°)
OKLaboklab(59.17% 0.0328 -0.111)
OKLCHoklch(59.17% 0.116 286.5)
XYZxyz(23.3039, 19.8605, 51.8857)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7972BF #B8BF72
analogous
#7291BF #7972BF #A072BF
triadic
#7972BF #BF7972 #72BF79
tetradic
#7972BF #BF7291 #B8BF72 #72BFA0
square
#7972BF #BF7291 #B8BF72 #72BFA0
split-complementary
#7972BF #BFA072 #91BF72
monochromatic
#3F397E #544CA8 #7972BF #A19CD2 #C9C6E5

Accessibility & contrast

On white

4.22
#7972BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7972BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7972BF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7972BF#FFFFFF#000000##000000
##7972BF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#5779BD
Tritanopia (blue-blind)
#66818F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7972bf;
/* rgb */ color: rgb(121, 114, 191);
/* oklch */ color: oklch(59.2% 0.116 286.5);
Tailwind
colors: {
  custom: {
    50: '#a29ad2',
    500: '#7972bf',
    950: '#000000',
  },
}
SCSS
$custom: #7972bf;
$custom-light: #a29ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7972bf",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 191
  },
  "hsl": {
    "h": 245.455,
    "s": 37.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59172,
    "c": 0.11577,
    "h": 286.5
  },
  "luminance": 0.19861
}

Semantic roles & 50–950 ramp

primary
#7972BF
secondary
#D3D5B8
accent
#CE5AC3
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7972BF

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

Preview Lab → · Contrast checker → · Palette generator →

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