#7974BF#7974BF

#7974BF is a mid, moderate blue. Relative luminance 0.203; OKLCH L 59.6% C 0.113 H 285.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7974BF
RGBrgb(121, 116, 191)
HSLhsl(244, 37%, 60%)
HSVhsv(244, 39%, 75%)
CMYKcmyk(36.6%, 39.3%, 0%, 25.1%)
CIE-LABlab(52.19, 20.02, -38.72)
CIE-LCHlch(52.19, 43.59, 297.35°)
OKLaboklab(59.56% 0.0301 -0.1087)
OKLCHoklch(59.56% 0.113 285.5)
XYZxyz(23.5319, 20.3166, 51.9617)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974BF #BABF74
analogous
#7494BF #7974BF #9E74BF
triadic
#7974BF #BF7974 #74BF79
tetradic
#7974BF #BF7494 #BABF74 #74BF9E
square
#7974BF #BF7494 #BABF74 #74BF9E
split-complementary
#7974BF #BF9E74 #94BF74
monochromatic
#3F3A7E #544DA8 #7974BF #A19ED2 #CAC8E6

Accessibility & contrast

On white

4.15
#7974BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7974BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974BF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974BF#FFFFFF#000000##000000
##7974BF1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#668290
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7974bf;
/* rgb */ color: rgb(121, 116, 191);
/* oklch */ color: oklch(59.6% 0.113 285.5);
Tailwind
colors: {
  custom: {
    50: '#a29cd2',
    500: '#7974bf',
    950: '#000000',
  },
}
SCSS
$custom: #7974bf;
$custom-light: #a29cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7974bf",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 191
  },
  "hsl": {
    "h": 244,
    "s": 36.946,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59564,
    "c": 0.11276,
    "h": 285.5
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#7974BF
secondary
#D4D6B9
accent
#B036A8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7974BF

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

Preview Lab → · Contrast checker → · Palette generator →

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