#7991FB#7991FB

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

Color values

HEX#7991FB
RGBrgb(121, 145, 251)
HSLhsl(229, 94%, 73%)
HSVhsv(229, 52%, 98%)
CMYKcmyk(51.8%, 42.2%, 0%, 1.6%)
CIE-LABlab(62.74, 20.40, -55.63)
CIE-LCHlch(62.74, 59.25, 290.14°)
OKLaboklab(68.63% 0.0056 -0.1579)
OKLCHoklch(68.63% 0.158 272)
XYZxyz(35.4175, 31.2784, 95.4191)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7991FB #FBE379
analogous
#79D2FB #7991FB #A279FB
triadic
#7991FB #FB7991 #91FB79
tetradic
#7991FB #FB79D2 #FBE379 #79FBA2
square
#7991FB #FB79D2 #FBE379 #79FBA2
split-complementary
#7991FB #FBA279 #D2FB79
monochromatic
#0733F2 #3E60F9 #7991FB #B4C2FD #E1E7FE

Accessibility & contrast

On white

2.89
#7991FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7991FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7991FB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7991FB#FFFFFF#000000##000000
##7991FB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7991fb;
/* rgb */ color: rgb(121, 145, 251);
/* oklch */ color: oklch(68.6% 0.158 272.0);
Tailwind
colors: {
  custom: {
    50: '#a7b0fd',
    500: '#7991fb',
    950: '#000000',
  },
}
SCSS
$custom: #7991fb;
$custom-light: #a7b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7991fb",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 228.923,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68631,
    "c": 0.15802,
    "h": 272
  },
  "luminance": 0.31281
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7991FB

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

Preview Lab → · Contrast checker → · Palette generator →

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