#7964EB#7964EB

#7964EB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.4% C 0.196 H 285.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7964EB
RGBrgb(121, 100, 235)
HSLhsl(249, 77%, 66%)
HSVhsv(249, 57%, 92%)
CMYKcmyk(48.5%, 57.4%, 0%, 7.8%)
CIE-LABlab(50.89, 42.10, -65.77)
CIE-LCHlch(50.89, 78.09, 302.63°)
OKLaboklab(59.41% 0.0536 -0.188)
OKLCHoklch(59.41% 0.196 285.9)
XYZxyz(27.4333, 19.1762, 80.8370)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7964EB #D6EB64
analogous
#6492EB #7964EB #BC64EB
triadic
#7964EB #EB7964 #64EB79
tetradic
#7964EB #EB6492 #D6EB64 #64EBBC
square
#7964EB #EB6492 #D6EB64 #64EBBC
split-complementary
#7964EB #EBBC64 #92EB64
monochromatic
#3218BC #4A2EE4 #7964EB #A89AF2 #D7D0F9

Accessibility & contrast

On white

4.34
#7964EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7964EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7964EB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7964EB#FFFFFF#000000##000000
##7964EB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#51839E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7964eb;
/* rgb */ color: rgb(121, 100, 235);
/* oklch */ color: oklch(59.4% 0.196 285.9);
Tailwind
colors: {
  custom: {
    50: '#a791f2',
    500: '#7964eb',
    950: '#000000',
  },
}
SCSS
$custom: #7964eb;
$custom-light: #a791f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7964eb",
  "rgb": {
    "r": 121,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 249.333,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59411,
    "c": 0.1955,
    "h": 285.9
  },
  "luminance": 0.19177
}

Semantic roles & 50–950 ramp

primary
#7964EB
secondary
#E5ECBF
accent
#D90CB9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #7964EB

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

Preview Lab → · Contrast checker → · Palette generator →

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