#7974CA#7974CA

#7974CA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.129 H 284.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7974CA
RGBrgb(121, 116, 202)
HSLhsl(243, 45%, 62%)
HSVhsv(243, 43%, 79%)
CMYKcmyk(40.1%, 42.6%, 0%, 20.8%)
CIE-LABlab(52.75, 23.11, -44.13)
CIE-LCHlch(52.75, 49.81, 297.64°)
OKLaboklab(60.17% 0.0321 -0.1244)
OKLCHoklch(60.17% 0.129 284.5)
XYZxyz(24.7882, 20.8191, 58.5781)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974CA #C5CA74
analogous
#749ACA #7974CA #A474CA
triadic
#7974CA #CA7974 #74CA79
tetradic
#7974CA #CA749A #C5CA74 #74CAA4
square
#7974CA #CA749A #C5CA74 #74CAA4
split-complementary
#7974CA #CAA474 #9ACA74
monochromatic
#3B368E #4E48B9 #7974CA #A4A0DB #CECDEC

Accessibility & contrast

On white

4.07
#7974CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7974CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974CA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974CA#FFFFFF#000000##000000
##7974CA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#628595
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7974ca;
/* rgb */ color: rgb(121, 116, 202);
/* oklch */ color: oklch(60.2% 0.129 284.5);
Tailwind
colors: {
  custom: {
    50: '#a39cda',
    500: '#7974ca',
    950: '#000000',
  },
}
SCSS
$custom: #7974ca;
$custom-light: #a39cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7974ca",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 243.488,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.12851,
    "h": 284.5
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#7974CA
secondary
#DBDDBD
accent
#B82EB0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7974CA

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

Preview Lab → · Contrast checker → · Palette generator →

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