#7791FC#7791FC

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

Color values

HEX#7791FC
RGBrgb(119, 145, 252)
HSLhsl(228, 96%, 73%)
HSVhsv(228, 53%, 99%)
CMYKcmyk(52.8%, 42.5%, 0%, 1.2%)
CIE-LABlab(62.67, 20.28, -56.29)
CIE-LCHlch(62.67, 59.83, 289.81°)
OKLaboklab(68.57% 0.0038 -0.1599)
OKLCHoklch(68.57% 0.16 271.4)
XYZxyz(35.2981, 31.1986, 96.2385)
Luminance0.3120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7791FC #FCE277
analogous
#77D3FC #7791FC #A077FC
triadic
#7791FC #FC7791 #91FC77
tetradic
#7791FC #FC77D3 #FCE277 #77FCA0
square
#7791FC #FC77D3 #FCE277 #77FCA0
split-complementary
#7791FC #FCA077 #D3FC77
monochromatic
#0534F3 #3B61FB #7791FC #B3C1FD #E1E7FE

Accessibility & contrast

On white

2.90
#7791FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#7791FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7791FC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7791FC#FFFFFF#000000##000000
##7791FC1.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)
#649EFF
Deuteranopia (green-blind)
#5492FA
Tritanopia (blue-blind)
#35A8BA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7791fc;
/* rgb */ color: rgb(119, 145, 252);
/* oklch */ color: oklch(68.6% 0.160 271.4);
Tailwind
colors: {
  custom: {
    50: '#a6b0fe',
    500: '#7791fc',
    950: '#000000',
  },
}
SCSS
$custom: #7791fc;
$custom-light: #a6b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7791fc",
  "rgb": {
    "r": 119,
    "g": 145,
    "b": 252
  },
  "hsl": {
    "h": 228.271,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68565,
    "c": 0.15994,
    "h": 271.4
  },
  "luminance": 0.31201
}

Semantic roles & 50–950 ramp

primary
#7791FC
secondary
#F7F0D4
accent
#B900E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #7791FC

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

Preview Lab → · Contrast checker → · Palette generator →

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