#7891EB#7891EB

#7891EB is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.7% C 0.136 H 270.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7891EB
RGBrgb(120, 145, 235)
HSLhsl(227, 74%, 70%)
HSVhsv(227, 49%, 92%)
CMYKcmyk(48.9%, 38.3%, 0%, 7.8%)
CIE-LABlab(61.86, 15.32, -48.23)
CIE-LCHlch(61.86, 50.60, 287.63°)
OKLaboklab(67.67% 0.0016 -0.1363)
OKLCHoklch(67.67% 0.136 270.7)
XYZxyz(32.8617, 30.2400, 82.6864)
Luminance0.3024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891EB #EBD278
analogous
#78CAEB #7891EB #9978EB
triadic
#7891EB #EB7891 #91EB78
tetradic
#7891EB #EB78CA #EBD278 #78EB99
square
#7891EB #EB78CA #EBD278 #78EB99
split-complementary
#7891EB #EB9978 #CAEB78
monochromatic
#1E44CB #4366E3 #7891EB #ADBCF3 #E3E8FB

Accessibility & contrast

On white

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

On black

7.05
#7891EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891EB
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891EB#FFFFFF#000000##000000
##7891EB1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#48A4B3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7891eb;
/* rgb */ color: rgb(120, 145, 235);
/* oklch */ color: oklch(67.7% 0.136 270.7);
Tailwind
colors: {
  custom: {
    50: '#a5b1f2',
    500: '#7891eb',
    950: '#000000',
  },
}
SCSS
$custom: #7891eb;
$custom-light: #a5b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7891eb",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 226.957,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67671,
    "c": 0.13629,
    "h": 270.7
  },
  "luminance": 0.30242
}

Semantic roles & 50–950 ramp

primary
#7891EB
secondary
#F0E9CF
accent
#AB0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7891EB

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

Preview Lab → · Contrast checker → · Palette generator →

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