#7891E4#7891E4

#7891E4 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.3% C 0.127 H 270.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7891E4
RGBrgb(120, 145, 228)
HSLhsl(226, 67%, 68%)
HSVhsv(226, 47%, 89%)
CMYKcmyk(47.4%, 36.4%, 0%, 10.6%)
CIE-LABlab(61.52, 13.23, -44.89)
CIE-LCHlch(61.52, 46.80, 286.42°)
OKLaboklab(67.3% 0.0001 -0.1266)
OKLCHoklch(67.3% 0.127 270)
XYZxyz(31.8703, 29.8434, 77.4647)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891E4 #E4CB78
analogous
#78C7E4 #7891E4 #9578E4
triadic
#7891E4 #E47891 #91E478
tetradic
#7891E4 #E478C7 #E4CB78 #78E495
square
#7891E4 #E478C7 #E4CB78 #78E495
split-complementary
#7891E4 #E49578 #C7E478
monochromatic
#2648BC #4567DA #7891E4 #ABBBEE #DEE4F8

Accessibility & contrast

On white

3.01
#7891E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#7891E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7891E4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891E4#FFFFFF#000000##000000
##7891E41.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE7
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#4EA2B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7891e4;
/* rgb */ color: rgb(120, 145, 228);
/* oklch */ color: oklch(67.3% 0.127 270.0);
Tailwind
colors: {
  custom: {
    50: '#a4b1ed',
    500: '#7891e4',
    950: '#000000',
  },
}
SCSS
$custom: #7891e4;
$custom-light: #a4b1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7891e4",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 228
  },
  "hsl": {
    "h": 226.111,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67296,
    "c": 0.12656,
    "h": 270
  },
  "luminance": 0.29845
}

Semantic roles & 50–950 ramp

primary
#7891E4
secondary
#ECE5CC
accent
#A417CF
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #7891E4

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

Preview Lab → · Contrast checker → · Palette generator →

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