#7974EF#7974EF

#7974EF is a light, vivid blue. Relative luminance 0.228; OKLCH L 62.4% C 0.179 H 281.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7974EF
RGBrgb(121, 116, 239)
HSLhsl(242, 79%, 70%)
HSVhsv(242, 51%, 94%)
CMYKcmyk(49.4%, 51.5%, 0%, 6.3%)
CIE-LABlab(54.85, 33.92, -61.62)
CIE-LCHlch(54.85, 70.34, 298.83°)
OKLaboklab(62.43% 0.0364 -0.1757)
OKLCHoklch(62.43% 0.179 281.7)
XYZxyz(29.7058, 22.7861, 84.4775)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7974EF #EAEF74
analogous
#74ADEF #7974EF #B774EF
triadic
#7974EF #EF7974 #74EF79
tetradic
#7974EF #EF74AD #EAEF74 #74EFB7
square
#7974EF #EF74AD #EAEF74 #74EFB7
split-complementary
#7974EF #EFB774 #ADEF74
monochromatic
#2018D1 #443DE9 #7974EF #AEABF5 #E3E2FC

Accessibility & contrast

On white

3.78
#7974EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#7974EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7974EF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7974EF#FFFFFF#000000##000000
##7974EF1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3588F3
Deuteranopia (green-blind)
#2B7FEC
Tritanopia (blue-blind)
#4C8FA7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7974ef;
/* rgb */ color: rgb(121, 116, 239);
/* oklch */ color: oklch(62.4% 0.179 281.7);
Tailwind
colors: {
  custom: {
    50: '#a79cf5',
    500: '#7974ef',
    950: '#000000',
  },
}
SCSS
$custom: #7974ef;
$custom-light: #a79cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#7974ef",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 242.439,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.17944,
    "h": 281.7
  },
  "luminance": 0.22788
}

Semantic roles & 50–950 ramp

primary
#7974EF
secondary
#F0F1CE
accent
#DC0AD3
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7974EF

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

Preview Lab → · Contrast checker → · Palette generator →

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