#7997FD#7997FD

#7997FD is a light, vivid blue. Relative luminance 0.333; OKLCH L 69.9% C 0.153 H 269.7°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#7997FD
RGBrgb(121, 151, 253)
HSLhsl(226, 97%, 73%)
HSVhsv(226, 52%, 99%)
CMYKcmyk(52.2%, 40.3%, 0%, 0.8%)
CIE-LABlab(64.39, 17.49, -54.10)
CIE-LCHlch(64.39, 56.86, 287.92°)
OKLaboklab(69.93% -0.0007 -0.1534)
OKLCHoklch(69.93% 0.153 269.7)
XYZxyz(36.6756, 33.2875, 97.4020)
Luminance0.3329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997FD #FDDF79
analogous
#79D9FD #7997FD #9D79FD
triadic
#7997FD #FD7997 #97FD79
tetradic
#7997FD #FD79D9 #FDDF79 #79FD9D
square
#7997FD #FD79D9 #FDDF79 #79FD9D
split-complementary
#7997FD #FD9D79 #D9FD79
monochromatic
#043BF8 #3D68FC #7997FD #B5C6FE #E1E8FF

Accessibility & contrast

On white

2.74
#7997FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#7997FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997FD
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997FD#FFFFFF#000000##000000
##7997FD1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#39ADBE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7997fd;
/* rgb */ color: rgb(121, 151, 253);
/* oklch */ color: oklch(69.9% 0.153 269.7);
Tailwind
colors: {
  custom: {
    50: '#a7b5fe',
    500: '#7997fd',
    950: '#000000',
  },
}
SCSS
$custom: #7997fd;
$custom-light: #a7b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7997fd",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 226.364,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69931,
    "c": 0.15339,
    "h": 269.7
  },
  "luminance": 0.3329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7997FD

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

Preview Lab → · Contrast checker → · Palette generator →

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