#7997FF#7997FF

#7997FF is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.0% C 0.156 H 269.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7997FF
RGBrgb(121, 151, 255)
HSLhsl(227, 100%, 74%)
HSVhsv(227, 53%, 100%)
CMYKcmyk(52.5%, 40.8%, 0%, 0%)
CIE-LABlab(64.50, 18.10, -55.03)
CIE-LCHlch(64.50, 57.93, 288.21°)
OKLaboklab(70.04% -0.0003 -0.1561)
OKLCHoklch(70.04% 0.156 269.9)
XYZxyz(36.9959, 33.4156, 99.0887)
Luminance0.3342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997FF #FFE179
analogous
#79DAFF #7997FF #9E79FF
triadic
#7997FF #FF7997 #97FF79
tetradic
#7997FF #FF79DA #FFE179 #79FF9E
square
#7997FF #FF79DA #FFE179 #79FF9E
split-complementary
#7997FF #FF9E79 #DAFF79
monochromatic
#0039FE #3C68FF #7997FF #B6C6FF #E0E7FF

Accessibility & contrast

On white

2.73
#7997FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7997FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997FF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997FF#FFFFFF#000000##000000
##7997FF1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#5D97FD
Tritanopia (blue-blind)
#36AEBF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7997ff;
/* rgb */ color: rgb(121, 151, 255);
/* oklch */ color: oklch(70.0% 0.156 269.9);
Tailwind
colors: {
  custom: {
    50: '#a8b5ff',
    500: '#7997ff',
    950: '#000000',
  },
}
SCSS
$custom: #7997ff;
$custom-light: #a8b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7997ff",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 226.567,
    "s": 100,
    "l": 73.725
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.15611,
    "h": 269.9
  },
  "luminance": 0.33418
}

Semantic roles & 50–950 ramp

primary
#7997FF
secondary
#F7EFD4
accent
#B200E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#101118
muted
#7F8086

Preview Lab

Preview with #7997FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7997FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva