#7973EB#7973EB

#7973EB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 62.0% C 0.175 H 282.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7973EB
RGBrgb(121, 115, 235)
HSLhsl(243, 75%, 69%)
HSVhsv(243, 51%, 92%)
CMYKcmyk(48.5%, 51.1%, 0%, 7.8%)
CIE-LABlab(54.37, 33.32, -60.16)
CIE-LCHlch(54.37, 68.78, 298.98°)
OKLaboklab(61.99% 0.0372 -0.1714)
OKLCHoklch(61.99% 0.175 282.2)
XYZxyz(29.0068, 22.3231, 81.3615)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7973EB #E5EB73
analogous
#73A9EB #7973EB #B573EB
triadic
#7973EB #EB7973 #73EB79
tetradic
#7973EB #EB73A9 #E5EB73 #73EBB5
square
#7973EB #EB73A9 #E5EB73 #73EBB5
split-complementary
#7973EB #EBB573 #A9EB73
monochromatic
#251CC7 #463DE3 #7973EB #ACA9F3 #E0DEFA

Accessibility & contrast

On white

3.84
#7973EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7973EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7973EB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7973EB#FFFFFF#000000##000000
##7973EB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#4F8DA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7973eb;
/* rgb */ color: rgb(121, 115, 235);
/* oklch */ color: oklch(62.0% 0.175 282.2);
Tailwind
colors: {
  custom: {
    50: '#a79bf2',
    500: '#7973eb',
    950: '#000000',
  },
}
SCSS
$custom: #7973eb;
$custom-light: #a79bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7973eb",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 243,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61993,
    "c": 0.17544,
    "h": 282.2
  },
  "luminance": 0.22325
}

Semantic roles & 50–950 ramp

primary
#7973EB
secondary
#EDEFCB
accent
#D70ECD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7973EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7973EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva