#7891EE#7891EE

#7891EE is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.8% C 0.140 H 270.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7891EE
RGBrgb(120, 145, 238)
HSLhsl(227, 78%, 70%)
HSVhsv(227, 50%, 93%)
CMYKcmyk(49.6%, 39.1%, 0%, 6.7%)
CIE-LABlab(62.01, 16.23, -49.65)
CIE-LCHlch(62.01, 52.23, 288.10°)
OKLaboklab(67.84% 0.0022 -0.1404)
OKLCHoklch(67.84% 0.14 270.9)
XYZxyz(33.2988, 30.4148, 84.9883)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891EE #EED578
analogous
#78CCEE #7891EE #9A78EE
triadic
#7891EE #EE7891 #91EE78
tetradic
#7891EE #EE78CC #EED578 #78EE9A
square
#7891EE #EE78CC #EED578 #78EE9A
split-complementary
#7891EE #EE9A78 #CCEE78
monochromatic
#1A41D1 #4265E7 #7891EE #AEBDF5 #E4E9FC

Accessibility & contrast

On white

2.96
#7891EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#7891EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891EE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891EE#FFFFFF#000000##000000
##7891EE1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF2
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#46A5B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7891ee;
/* rgb */ color: rgb(120, 145, 238);
/* oklch */ color: oklch(67.8% 0.140 270.9);
Tailwind
colors: {
  custom: {
    50: '#a5b0f4',
    500: '#7891ee',
    950: '#000000',
  },
}
SCSS
$custom: #7891ee;
$custom-light: #a5b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7891ee",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 227.288,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.14045,
    "h": 270.9
  },
  "luminance": 0.30417
}

Semantic roles & 50–950 ramp

primary
#7891EE
secondary
#F1EAD1
accent
#AE0CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7891EE

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

Preview Lab → · Contrast checker → · Palette generator →

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