#7991EB#7991EB

#7991EB is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.7% C 0.136 H 271.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7991EB
RGBrgb(121, 145, 235)
HSLhsl(227, 74%, 70%)
HSVhsv(227, 49%, 92%)
CMYKcmyk(48.5%, 38.3%, 0%, 7.8%)
CIE-LABlab(61.92, 15.55, -48.12)
CIE-LCHlch(61.92, 50.58, 287.91°)
OKLaboklab(67.74% 0.0026 -0.136)
OKLCHoklch(67.74% 0.136 271.1)
XYZxyz(33.0012, 30.3119, 82.6930)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7991EB #EBD379
analogous
#79CAEB #7991EB #9A79EB
triadic
#7991EB #EB7991 #91EB79
tetradic
#7991EB #EB79CA #EBD379 #79EB9A
square
#7991EB #EB79CA #EBD379 #79EB9A
split-complementary
#7991EB #EB9A79 #CAEB79
monochromatic
#1E43CB #4465E3 #7991EB #AEBDF3 #E4E8FB

Accessibility & contrast

On white

2.97
#7991EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7991EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7991EB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7991EB#FFFFFF#000000##000000
##7991EB1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#4BA4B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7991eb;
/* rgb */ color: rgb(121, 145, 235);
/* oklch */ color: oklch(67.7% 0.136 271.1);
Tailwind
colors: {
  custom: {
    50: '#a6b1f2',
    500: '#7991eb',
    950: '#000000',
  },
}
SCSS
$custom: #7991eb;
$custom-light: #a6b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7991eb",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 227.368,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.136,
    "h": 271.1
  },
  "luminance": 0.30314
}

Semantic roles & 50–950 ramp

primary
#7991EB
secondary
#F0E9D0
accent
#AC0FD6
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7991EB

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

Preview Lab → · Contrast checker → · Palette generator →

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