#7891FE#7891FE

#7891FE is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.7% C 0.162 H 271.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7891FE
RGBrgb(120, 145, 254)
HSLhsl(229, 99%, 73%)
HSVhsv(229, 53%, 100%)
CMYKcmyk(52.8%, 42.9%, 0%, 0.4%)
CIE-LABlab(62.84, 21.11, -57.12)
CIE-LCHlch(62.84, 60.89, 290.28°)
OKLaboklab(68.74% 0.0051 -0.1623)
OKLCHoklch(68.74% 0.162 271.8)
XYZxyz(35.7547, 31.3972, 97.9229)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891FE #FEE578
analogous
#78D4FE #7891FE #A278FE
triadic
#7891FE #FE7891 #91FE78
tetradic
#7891FE #FE78D4 #FEE578 #78FEA2
square
#7891FE #FE78D4 #FEE578 #78FEA2
split-complementary
#7891FE #FEA278 #D4FE78
monochromatic
#0230FA #3B5FFE #7891FE #B5C2FE #E1E6FF

Accessibility & contrast

On white

2.88
#7891FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#7891FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891FE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891FE#FFFFFF#000000##000000
##7891FE1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#5393FC
Tritanopia (blue-blind)
#36A9BB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7891fe;
/* rgb */ color: rgb(120, 145, 254);
/* oklch */ color: oklch(68.7% 0.162 271.8);
Tailwind
colors: {
  custom: {
    50: '#a7b0ff',
    500: '#7891fe',
    950: '#000000',
  },
}
SCSS
$custom: #7891fe;
$custom-light: #a7b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7891fe",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 254
  },
  "hsl": {
    "h": 228.806,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68743,
    "c": 0.16238,
    "h": 271.8
  },
  "luminance": 0.314
}

Semantic roles & 50–950 ramp

primary
#7891FE
secondary
#F7F1D4
accent
#BB00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7891FE

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

Preview Lab → · Contrast checker → · Palette generator →

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