#7974CC#7974CC

#7974CC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.3% C 0.131 H 284.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7974CC
RGBrgb(121, 116, 204)
HSLhsl(243, 46%, 63%)
HSVhsv(243, 43%, 80%)
CMYKcmyk(40.7%, 43.1%, 0%, 20%)
CIE-LABlab(52.86, 23.68, -45.10)
CIE-LCHlch(52.86, 50.94, 297.70°)
OKLaboklab(60.28% 0.0325 -0.1273)
OKLCHoklch(60.28% 0.131 284.3)
XYZxyz(25.0265, 20.9144, 59.8333)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974CC #C7CC74
analogous
#749BCC #7974CC #A574CC
triadic
#7974CC #CC7974 #74CC79
tetradic
#7974CC #CC749B #C7CC74 #74CCA5
square
#7974CC #CC749B #C7CC74 #74CCA5
split-complementary
#7974CC #CCA574 #9BCC74
monochromatic
#3A3591 #4E47BC #7974CC #A4A1DC #CFCEED

Accessibility & contrast

On white

4.05
#7974CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7974CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974CC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974CC#FFFFFF#000000##000000
##7974CC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#517BCA
Tritanopia (blue-blind)
#618696
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7974cc;
/* rgb */ color: rgb(121, 116, 204);
/* oklch */ color: oklch(60.3% 0.131 284.3);
Tailwind
colors: {
  custom: {
    50: '#a39cdc',
    500: '#7974cc',
    950: '#000000',
  },
}
SCSS
$custom: #7974cc;
$custom-light: #a39cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7974cc",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 243.409,
    "s": 46.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.13135,
    "h": 284.3
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#7974CC
secondary
#DCDEBE
accent
#BA2CB1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7974CC

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

Preview Lab → · Contrast checker → · Palette generator →

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