#7864DD#7864DD

#7864DD is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.4% C 0.177 H 287.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7864DD
RGBrgb(120, 100, 221)
HSLhsl(250, 64%, 63%)
HSVhsv(250, 55%, 87%)
CMYKcmyk(45.7%, 54.8%, 0%, 13.3%)
CIE-LABlab(49.89, 37.84, -59.50)
CIE-LCHlch(49.89, 70.51, 302.46°)
OKLaboklab(58.36% 0.0523 -0.1696)
OKLCHoklch(58.36% 0.177 287.2)
XYZxyz(25.3503, 18.3268, 70.5943)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864DD #C9DD64
analogous
#648DDD #7864DD #B464DD
triadic
#7864DD #DD7864 #64DD78
tetradic
#7864DD #DD648D #C9DD64 #64DDB4
square
#7864DD #DD648D #C9DD64 #64DDB4
split-complementary
#7864DD #DDB464 #8DDD64
monochromatic
#3924A3 #4C32D2 #7864DD #A496E8 #CFC8F3

Accessibility & contrast

On white

4.50
#7864DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7864DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864DD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864DD#FFFFFF#000000##000000
##7864DD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#207AE1
Deuteranopia (green-blind)
#1F73DA
Tritanopia (blue-blind)
#587F97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7864dd;
/* rgb */ color: rgb(120, 100, 221);
/* oklch */ color: oklch(58.4% 0.177 287.2);
Tailwind
colors: {
  custom: {
    50: '#a590e8',
    500: '#7864dd',
    950: '#000000',
  },
}
SCSS
$custom: #7864dd;
$custom-light: #a590e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7864dd",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 221
  },
  "hsl": {
    "h": 249.917,
    "s": 64.021,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58357,
    "c": 0.17748,
    "h": 287.2
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#7864DD
secondary
#DDE4B9
accent
#CC1AAE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7864DD

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

Preview Lab → · Contrast checker → · Palette generator →

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