#7891DC#7891DC

#7891DC is a light, moderate blue. Relative luminance 0.294; OKLCH L 66.9% C 0.115 H 269.1°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7891DC
RGBrgb(120, 145, 220)
HSLhsl(225, 59%, 67%)
HSVhsv(225, 45%, 86%)
CMYKcmyk(45.5%, 34.1%, 0%, 13.7%)
CIE-LABlab(61.14, 10.87, -41.04)
CIE-LCHlch(61.14, 42.45, 284.84°)
OKLaboklab(66.88% -0.0018 -0.1154)
OKLCHoklch(66.88% 0.115 269.1)
XYZxyz(30.7853, 29.4094, 71.7507)
Luminance0.2941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891DC #DCC378
analogous
#78C3DC #7891DC #9178DC
triadic
#7891DC #DC7891 #91DC78
tetradic
#7891DC #DC78C3 #DCC378 #78DC91
square
#7891DC #DC78C3 #DCC378 #78DC91
split-complementary
#7891DC #DC9178 #C3DC78
monochromatic
#2D4DAD #4769CF #7891DC #A9B9E9 #D9E0F5

Accessibility & contrast

On white

3.05
#7891DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#7891DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7891DC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891DC#FFFFFF#000000##000000
##7891DC1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DF
Deuteranopia (green-blind)
#6C90DA
Tritanopia (blue-blind)
#53A1AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7891dc;
/* rgb */ color: rgb(120, 145, 220);
/* oklch */ color: oklch(66.9% 0.115 269.1);
Tailwind
colors: {
  custom: {
    50: '#a3b1e7',
    500: '#7891dc',
    950: '#000000',
  },
}
SCSS
$custom: #7891dc;
$custom-light: #a3b1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7891dc",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 225,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6688,
    "c": 0.11537,
    "h": 269.1
  },
  "luminance": 0.29411
}

Semantic roles & 50–950 ramp

primary
#7891DC
secondary
#E8E0C8
accent
#9D1FC6
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #7891DC

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

Preview Lab → · Contrast checker → · Palette generator →

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