#7977BF#7977BF

#7977BF is a mid, moderate blue. Relative luminance 0.210; OKLCH L 60.2% C 0.108 H 283.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7977BF
RGBrgb(121, 119, 191)
HSLhsl(242, 36%, 61%)
HSVhsv(242, 38%, 75%)
CMYKcmyk(36.6%, 37.7%, 0%, 25.1%)
CIE-LABlab(52.97, 18.23, -37.49)
CIE-LCHlch(52.97, 41.69, 295.93°)
OKLaboklab(60.16% 0.026 -0.1051)
OKLCHoklch(60.16% 0.108 283.9)
XYZxyz(23.8833, 21.0194, 52.0789)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7977BF #BDBF77
analogous
#7799BF #7977BF #9D77BF
triadic
#7977BF #BF7977 #77BF79
tetradic
#7977BF #BF7799 #BDBF77 #77BF9D
square
#7977BF #BF7799 #BDBF77 #77BF9D
split-complementary
#7977BF #BF9D77 #99BF77
monochromatic
#3E3C80 #5250A9 #7977BF #A2A1D3 #CBCAE6

Accessibility & contrast

On white

4.04
#7977BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7977BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7977BF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7977BF#FFFFFF#000000##000000
##7977BF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C2
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#668592
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7977bf;
/* rgb */ color: rgb(121, 119, 191);
/* oklch */ color: oklch(60.2% 0.108 283.9);
Tailwind
colors: {
  custom: {
    50: '#a29ed2',
    500: '#7977bf',
    950: '#000000',
  },
}
SCSS
$custom: #7977bf;
$custom-light: #a29ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#7977bf",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 191
  },
  "hsl": {
    "h": 241.667,
    "s": 36,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.10829,
    "h": 283.9
  },
  "luminance": 0.2102
}

Semantic roles & 50–950 ramp

primary
#7977BF
secondary
#D6D7BB
accent
#AF37AC
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7977BF

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

Preview Lab → · Contrast checker → · Palette generator →

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