#7791FB#7791FB

#7791FB is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.5% C 0.159 H 271.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7791FB
RGBrgb(119, 145, 251)
HSLhsl(228, 94%, 73%)
HSVhsv(228, 53%, 98%)
CMYKcmyk(52.6%, 42.2%, 0%, 1.6%)
CIE-LABlab(62.62, 19.97, -55.83)
CIE-LCHlch(62.62, 59.29, 289.69°)
OKLaboklab(68.51% 0.0036 -0.1585)
OKLCHoklch(68.51% 0.159 271.3)
XYZxyz(35.1401, 31.1354, 95.4061)
Luminance0.3114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7791FB #FBE177
analogous
#77D3FB #7791FB #9F77FB
triadic
#7791FB #FB7791 #91FB77
tetradic
#7791FB #FB77D3 #FBE177 #77FB9F
square
#7791FB #FB77D3 #FBE177 #77FB9F
split-complementary
#7791FB #FB9F77 #D3FB77
monochromatic
#0735F1 #3C61F9 #7791FB #B2C1FD #E1E7FE

Accessibility & contrast

On white

2.91
#7791FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7791FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7791FB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7791FB#FFFFFF#000000##000000
##7791FB1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#5592F9
Tritanopia (blue-blind)
#36A8BA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7791fb;
/* rgb */ color: rgb(119, 145, 251);
/* oklch */ color: oklch(68.5% 0.159 271.3);
Tailwind
colors: {
  custom: {
    50: '#a6b0fd',
    500: '#7791fb',
    950: '#000000',
  },
}
SCSS
$custom: #7791fb;
$custom-light: #a6b0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7791fb",
  "rgb": {
    "r": 119,
    "g": 145,
    "b": 251
  },
  "hsl": {
    "h": 228.182,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68507,
    "c": 0.15858,
    "h": 271.3
  },
  "luminance": 0.31138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7791FB

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

Preview Lab → · Contrast checker → · Palette generator →

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