#7891C5#7891C5

#7891C5 is a light, moderate blue. Relative luminance 0.283; OKLCH L 65.8% C 0.083 H 264.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7891C5
RGBrgb(120, 145, 197)
HSLhsl(221, 40%, 62%)
HSVhsv(221, 39%, 77%)
CMYKcmyk(39.1%, 26.4%, 0%, 22.7%)
CIE-LABlab(60.14, 4.31, -29.73)
CIE-LCHlch(60.14, 30.04, 278.25°)
OKLaboklab(65.77% -0.0081 -0.0827)
OKLCHoklch(65.77% 0.083 264.4)
XYZxyz(27.9461, 28.2737, 56.7974)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891C5 #C5AC78
analogous
#78B8C5 #7891C5 #8678C5
triadic
#7891C5 #C57891 #91C578
tetradic
#7891C5 #C578B8 #C5AC78 #78C586
square
#7891C5 #C578B8 #C5AC78 #78C586
split-complementary
#7891C5 #C58678 #B8C578
monochromatic
#3A5488 #4D6EB3 #7891C5 #A3B4D7 #CED7EA

Accessibility & contrast

On white

3.16
#7891C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#7891C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7891C5
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891C5#FFFFFF#000000##000000
##7891C51.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F95C7
Deuteranopia (green-blind)
#778EC4
Tritanopia (blue-blind)
#5F9CA3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7891c5;
/* rgb */ color: rgb(120, 145, 197);
/* oklch */ color: oklch(65.8% 0.083 264.4);
Tailwind
colors: {
  custom: {
    50: '#a1b1d6',
    500: '#7891c5',
    950: '#000000',
  },
}
SCSS
$custom: #7891c5;
$custom-light: #a1b1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7891c5",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 197
  },
  "hsl": {
    "h": 220.519,
    "s": 39.896,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65767,
    "c": 0.08311,
    "h": 264.4
  },
  "luminance": 0.28275
}

Semantic roles & 50–950 ramp

primary
#7891C5
secondary
#DBD1BE
accent
#8933B3
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7891C5

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

Preview Lab → · Contrast checker → · Palette generator →

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