#7891C8#7891C8

#7891C8 is a light, moderate blue. Relative luminance 0.284; OKLCH L 65.9% C 0.087 H 265.3°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7891C8
RGBrgb(120, 145, 200)
HSLhsl(221, 42%, 63%)
HSVhsv(221, 40%, 78%)
CMYKcmyk(40%, 27.5%, 0%, 21.6%)
CIE-LABlab(60.26, 5.14, -31.22)
CIE-LCHlch(60.26, 31.65, 279.36°)
OKLaboklab(65.91% -0.0072 -0.087)
OKLCHoklch(65.91% 0.087 265.3)
XYZxyz(28.2932, 28.4126, 58.6257)
Luminance0.2841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891C8 #C8AF78
analogous
#78B9C8 #7891C8 #8778C8
triadic
#7891C8 #C87891 #91C878
tetradic
#7891C8 #C878B9 #C8AF78 #78C887
square
#7891C8 #C878B9 #C8AF78 #78C887
split-complementary
#7891C8 #C88778 #B9C878
monochromatic
#39538C #4D6EB6 #7891C8 #A3B4DA #CFD8EB

Accessibility & contrast

On white

3.14
#7891C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#7891C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7891C8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891C8#FFFFFF#000000##000000
##7891C81.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E95CA
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#5E9CA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7891c8;
/* rgb */ color: rgb(120, 145, 200);
/* oklch */ color: oklch(65.9% 0.087 265.3);
Tailwind
colors: {
  custom: {
    50: '#a2b1d9',
    500: '#7891c8',
    950: '#000000',
  },
}
SCSS
$custom: #7891c8;
$custom-light: #a2b1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7891c8",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 200
  },
  "hsl": {
    "h": 221.25,
    "s": 42.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65905,
    "c": 0.08731,
    "h": 265.3
  },
  "luminance": 0.28414
}

Semantic roles & 50–950 ramp

primary
#7891C8
secondary
#DCD3BF
accent
#8C30B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F1014
muted
#7F7F83

Preview Lab

Preview with #7891C8

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

Preview Lab → · Contrast checker → · Palette generator →

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