#7974DD#7974DD

#7974DD is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.155 H 283.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7974DD
RGBrgb(121, 116, 221)
HSLhsl(243, 61%, 66%)
HSVhsv(243, 48%, 87%)
CMYKcmyk(45.2%, 47.5%, 0%, 13.3%)
CIE-LABlab(53.79, 28.60, -53.24)
CIE-LCHlch(53.79, 60.44, 298.24°)
OKLaboklab(61.29% 0.0348 -0.1511)
OKLCHoklch(61.29% 0.155 283)
XYZxyz(27.1778, 21.7749, 71.1636)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974DD #D8DD74
analogous
#74A3DD #7974DD #AD74DD
triadic
#7974DD #DD7974 #74DD79
tetradic
#7974DD #DD74A3 #D8DD74 #74DDAD
square
#7974DD #DD74A3 #D8DD74 #74DDAD
split-complementary
#7974DD #DDAD74 #A3DD74
monochromatic
#302AAC #4A43D1 #7974DD #A8A5E9 #D8D6F5

Accessibility & contrast

On white

3.92
#7974DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7974DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974DD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974DD#FFFFFF#000000##000000
##7974DD1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#437DDB
Tritanopia (blue-blind)
#588A9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7974dd;
/* rgb */ color: rgb(121, 116, 221);
/* oklch */ color: oklch(61.3% 0.155 283.0);
Tailwind
colors: {
  custom: {
    50: '#a59ce8',
    500: '#7974dd',
    950: '#000000',
  },
}
SCSS
$custom: #7974dd;
$custom-light: #a59ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7974dd",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 242.857,
    "s": 60.694,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61292,
    "c": 0.15507,
    "h": 283
  },
  "luminance": 0.21776
}

Semantic roles & 50–950 ramp

primary
#7974DD
secondary
#E6E8C5
accent
#C81DC0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7974DD

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

Preview Lab → · Contrast checker → · Palette generator →

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