#7791DC#7791DC

#7791DC is a light, moderate blue. Relative luminance 0.293; OKLCH L 66.8% C 0.116 H 268.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7791DC
RGBrgb(119, 145, 220)
HSLhsl(225, 59%, 66%)
HSVhsv(225, 46%, 86%)
CMYKcmyk(45.9%, 34.1%, 0%, 13.7%)
CIE-LABlab(61.08, 10.63, -41.14)
CIE-LCHlch(61.08, 42.49, 284.48°)
OKLaboklab(66.82% -0.0028 -0.1157)
OKLCHoklch(66.82% 0.116 268.6)
XYZxyz(30.6473, 29.3382, 71.7442)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7791DC #DCC277
analogous
#77C4DC #7791DC #9077DC
triadic
#7791DC #DC7791 #91DC77
tetradic
#7791DC #DC77C4 #DCC277 #77DC90
square
#7791DC #DC77C4 #DCC277 #77DC90
split-complementary
#7791DC #DC9077 #C4DC77
monochromatic
#2C4DAC #466ACF #7791DC #A8B8E9 #D8E0F5

Accessibility & contrast

On white

3.06
#7791DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#7791DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7791DC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7791DC#FFFFFF#000000##000000
##7791DC1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#6B8FDA
Tritanopia (blue-blind)
#51A1AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7791dc;
/* rgb */ color: rgb(119, 145, 220);
/* oklch */ color: oklch(66.8% 0.116 268.6);
Tailwind
colors: {
  custom: {
    50: '#a3b1e7',
    500: '#7791dc',
    950: '#000000',
  },
}
SCSS
$custom: #7791dc;
$custom-light: #a3b1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7791dc",
  "rgb": {
    "r": 119,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 224.554,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66816,
    "c": 0.1157,
    "h": 268.6
  },
  "luminance": 0.2934
}

Semantic roles & 50–950 ramp

primary
#7791DC
secondary
#E8DFC7
accent
#9B1FC7
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#0F1016
muted
#7F7F84

Preview Lab

Preview with #7791DC

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

Preview Lab → · Contrast checker → · Palette generator →

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