#7891FB#7891FB

#7891FB is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.6% C 0.158 H 271.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7891FB
RGBrgb(120, 145, 251)
HSLhsl(229, 94%, 73%)
HSVhsv(229, 52%, 98%)
CMYKcmyk(52.2%, 42.2%, 0%, 1.6%)
CIE-LABlab(62.68, 20.18, -55.73)
CIE-LCHlch(62.68, 59.27, 289.91°)
OKLaboklab(68.57% 0.0046 -0.1582)
OKLCHoklch(68.57% 0.158 271.7)
XYZxyz(35.2781, 31.2065, 95.4126)
Luminance0.3121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7891FB #FBE278
analogous
#78D2FB #7891FB #A178FB
triadic
#7891FB #FB7891 #91FB78
tetradic
#7891FB #FB78D2 #FBE278 #78FBA1
square
#7891FB #FB78D2 #FBE278 #78FBA1
split-complementary
#7891FB #FBA178 #D2FB78
monochromatic
#0734F1 #3D61F9 #7891FB #B3C1FD #E1E7FE

Accessibility & contrast

On white

2.90
#7891FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#7891FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7891FB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7891FB#FFFFFF#000000##000000
##7891FB1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#5692F9
Tritanopia (blue-blind)
#3AA8BA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7891fb;
/* rgb */ color: rgb(120, 145, 251);
/* oklch */ color: oklch(68.6% 0.158 271.7);
Tailwind
colors: {
  custom: {
    50: '#a7b0fd',
    500: '#7891fb',
    950: '#000000',
  },
}
SCSS
$custom: #7891fb;
$custom-light: #a7b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7891fb",
  "rgb": {
    "r": 120,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 228.55,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68569,
    "c": 0.1583,
    "h": 271.7
  },
  "luminance": 0.31209
}

Semantic roles & 50–950 ramp

primary
#7891FB
secondary
#F6F0D5
accent
#BA00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7891FB

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

Preview Lab → · Contrast checker → · Palette generator →

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