#7891EA#7891EA

#7891EA is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.6% C 0.135 H 270.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7891EA
RGBrgb(120, 145, 234)
HSLhsl(227, 73%, 69%)
HSVhsv(227, 49%, 92%)
CMYKcmyk(48.7%, 38%, 0%, 8.2%)
CIE-LABlab(61.81, 15.02, -47.75)
CIE-LCHlch(61.81, 50.06, 287.46°)
OKLaboklab(67.62% 0.0014 -0.1349)
OKLCHoklch(67.62% 0.135 270.6)
XYZxyz(32.7177, 30.1823, 81.9277)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891EA #EAD178
analogous
#78CAEA #7891EA #9878EA
triadic
#7891EA #EA7891 #91EA78
tetradic
#7891EA #EA78CA #EAD178 #78EA98
square
#7891EA #EA78CA #EAD178 #78EA98
split-complementary
#7891EA #EA9878 #CAEA78
monochromatic
#1F44C8 #4366E2 #7891EA #ADBCF2 #E2E7FA

Accessibility & contrast

On white

2.98
#7891EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7891EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891EA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891EA#FFFFFF#000000##000000
##7891EA1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#49A4B2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7891ea;
/* rgb */ color: rgb(120, 145, 234);
/* oklch */ color: oklch(67.6% 0.135 270.6);
Tailwind
colors: {
  custom: {
    50: '#a5b1f1',
    500: '#7891ea',
    950: '#000000',
  },
}
SCSS
$custom: #7891ea;
$custom-light: #a5b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7891ea",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 226.842,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67617,
    "c": 0.13491,
    "h": 270.6
  },
  "luminance": 0.30184
}

Semantic roles & 50–950 ramp

primary
#7891EA
secondary
#EFE8CE
accent
#AA10D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7891EA

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

Preview Lab → · Contrast checker → · Palette generator →

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