#7991EF#7991EF

#7991EF is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.0% C 0.142 H 271.4°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7991EF
RGBrgb(121, 145, 239)
HSLhsl(228, 79%, 71%)
HSVhsv(228, 49%, 94%)
CMYKcmyk(49.4%, 39.3%, 0%, 6.3%)
CIE-LABlab(62.12, 16.75, -50.02)
CIE-LCHlch(62.12, 52.75, 288.52°)
OKLaboklab(67.95% 0.0034 -0.1415)
OKLCHoklch(67.95% 0.142 271.4)
XYZxyz(33.5856, 30.5456, 85.7708)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7991EF #EFD779
analogous
#79CCEF #7991EF #9C79EF
triadic
#7991EF #EF7991 #91EF79
tetradic
#7991EF #EF79CC #EFD779 #79EF9C
square
#7991EF #EF79CC #EFD779 #79EF9C
split-complementary
#7991EF #EF9C79 #CCEF79
monochromatic
#193FD4 #4264E8 #7991EF #B0BEF6 #E4E9FC

Accessibility & contrast

On white

2.95
#7991EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7991EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7991EF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7991EF#FFFFFF#000000##000000
##7991EF1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF3
Deuteranopia (green-blind)
#6091ED
Tritanopia (blue-blind)
#48A5B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7991ef;
/* rgb */ color: rgb(121, 145, 239);
/* oklch */ color: oklch(68.0% 0.142 271.4);
Tailwind
colors: {
  custom: {
    50: '#a6b1f5',
    500: '#7991ef',
    950: '#000000',
  },
}
SCSS
$custom: #7991ef;
$custom-light: #a6b1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7991ef",
  "rgb": {
    "r": 121,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 227.797,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67954,
    "c": 0.14153,
    "h": 271.4
  },
  "luminance": 0.30548
}

Semantic roles & 50–950 ramp

primary
#7991EF
secondary
#F2EBD2
accent
#B10BDB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7991EF

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

Preview Lab → · Contrast checker → · Palette generator →

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