#7891EF#7891EF

#7891EF is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.9% C 0.142 H 271.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7891EF
RGBrgb(120, 145, 239)
HSLhsl(227, 79%, 70%)
HSVhsv(227, 50%, 94%)
CMYKcmyk(49.8%, 39.3%, 0%, 6.3%)
CIE-LABlab(62.06, 16.53, -50.12)
CIE-LCHlch(62.06, 52.77, 288.25°)
OKLaboklab(67.89% 0.0024 -0.1418)
OKLCHoklch(67.89% 0.142 271)
XYZxyz(33.4461, 30.4737, 85.7642)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891EF #EFD678
analogous
#78CCEF #7891EF #9A78EF
triadic
#7891EF #EF7891 #91EF78
tetradic
#7891EF #EF78CC #EFD678 #78EF9A
square
#7891EF #EF78CC #EFD678 #78EF9A
split-complementary
#7891EF #EF9A78 #CCEF78
monochromatic
#1940D4 #4164E9 #7891EF #AFBEF5 #E4E9FC

Accessibility & contrast

On white

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

On black

7.10
#7891EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891EF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891EF#FFFFFF#000000##000000
##7891EF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF3
Deuteranopia (green-blind)
#6091ED
Tritanopia (blue-blind)
#45A5B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7891ef;
/* rgb */ color: rgb(120, 145, 239);
/* oklch */ color: oklch(67.9% 0.142 271.0);
Tailwind
colors: {
  custom: {
    50: '#a5b0f5',
    500: '#7891ef',
    950: '#000000',
  },
}
SCSS
$custom: #7891ef;
$custom-light: #a5b0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7891ef",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 227.395,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.6789,
    "c": 0.14183,
    "h": 271
  },
  "luminance": 0.30476
}

Semantic roles & 50–950 ramp

primary
#7891EF
secondary
#F2EBD1
accent
#AF0ADB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7891EF

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

Preview Lab → · Contrast checker → · Palette generator →

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