#7891C2#7891C2

#7891C2 is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.6% C 0.079 H 263.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7891C2
RGBrgb(120, 145, 194)
HSLhsl(220, 38%, 62%)
HSVhsv(220, 38%, 76%)
CMYKcmyk(38.1%, 25.3%, 0%, 23.9%)
CIE-LABlab(60.01, 3.48, -28.23)
CIE-LCHlch(60.01, 28.44, 277.03°)
OKLaboklab(65.63% -0.009 -0.0784)
OKLCHoklch(65.63% 0.079 263.4)
XYZxyz(27.6057, 28.1376, 55.0050)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891C2 #C2A978
analogous
#78B6C2 #7891C2 #8478C2
triadic
#7891C2 #C27891 #91C278
tetradic
#7891C2 #C278B6 #C2A978 #78C284
square
#7891C2 #C278B6 #C2A978 #78C284
split-complementary
#7891C2 #C28478 #B6C278
monochromatic
#3C5484 #4F6FAE #7891C2 #A2B3D5 #CCD6E8

Accessibility & contrast

On white

3.17
#7891C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#7891C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7891C2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891C2#FFFFFF#000000##000000
##7891C21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8094C4
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#609BA2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7891c2;
/* rgb */ color: rgb(120, 145, 194);
/* oklch */ color: oklch(65.6% 0.079 263.4);
Tailwind
colors: {
  custom: {
    50: '#a1b1d4',
    500: '#7891c2',
    950: '#000000',
  },
}
SCSS
$custom: #7891c2;
$custom-light: #a1b1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7891c2",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 194
  },
  "hsl": {
    "h": 219.73,
    "s": 37.755,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65631,
    "c": 0.07894,
    "h": 263.4
  },
  "luminance": 0.28139
}

Semantic roles & 50–950 ramp

primary
#7891C2
secondary
#D9CFBD
accent
#8735B1
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7891C2

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

Preview Lab → · Contrast checker → · Palette generator →

#7891C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva