#7873BF#7873BF

#7873BF is a mid, moderate blue. Relative luminance 0.200; OKLCH L 59.3% C 0.114 H 285.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7873BF
RGBrgb(120, 115, 191)
HSLhsl(244, 37%, 60%)
HSVhsv(244, 40%, 75%)
CMYKcmyk(37.2%, 39.8%, 0%, 25.1%)
CIE-LABlab(51.85, 20.35, -39.26)
CIE-LCHlch(51.85, 44.22, 297.40°)
OKLaboklab(59.29% 0.0303 -0.1103)
OKLCHoklch(59.29% 0.114 285.4)
XYZxyz(23.2778, 20.0154, 51.9170)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7873BF #BABF73
analogous
#7394BF #7873BF #9E73BF
triadic
#7873BF #BF7873 #73BF78
tetradic
#7873BF #BF7394 #BABF73 #73BF9E
square
#7873BF #BF7394 #BABF73 #73BF9E
split-complementary
#7873BF #BF9E73 #94BF73
monochromatic
#3E3A7E #534DA8 #7873BF #A09DD2 #C9C7E5

Accessibility & contrast

On white

4.20
#7873BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7873BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7873BF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7873BF#FFFFFF#000000##000000
##7873BF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#658290
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7873bf;
/* rgb */ color: rgb(120, 115, 191);
/* oklch */ color: oklch(59.3% 0.114 285.4);
Tailwind
colors: {
  custom: {
    50: '#a29bd2',
    500: '#7873bf',
    950: '#000000',
  },
}
SCSS
$custom: #7873bf;
$custom-light: #a29bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7873bf",
  "rgb": {
    "r": 120,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 243.947,
    "s": 37.255,
    "l": 60
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.11434,
    "h": 285.4
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#7873BF
secondary
#D4D6B8
accent
#CD5BC6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7873BF

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

Preview Lab → · Contrast checker → · Palette generator →

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