#7997FB#7997FB

#7997FB is a light, vivid blue. Relative luminance 0.332; OKLCH L 69.8% C 0.151 H 269.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7997FB
RGBrgb(121, 151, 251)
HSLhsl(226, 94%, 73%)
HSVhsv(226, 52%, 98%)
CMYKcmyk(51.8%, 39.8%, 0%, 1.6%)
CIE-LABlab(64.29, 16.88, -53.17)
CIE-LCHlch(64.29, 55.78, 287.61°)
OKLaboklab(69.82% -0.001 -0.1507)
OKLCHoklch(69.82% 0.151 269.6)
XYZxyz(36.3587, 33.1607, 95.7328)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997FB #FBDD79
analogous
#79D8FB #7997FB #9C79FB
triadic
#7997FB #FB7997 #97FB79
tetradic
#7997FB #FB79D8 #FBDD79 #79FB9C
square
#7997FB #FB79D8 #FBDD79 #79FB9C
split-complementary
#7997FB #FB9C79 #D8FB79
monochromatic
#073DF2 #3E69F9 #7997FB #B4C5FD #E1E8FE

Accessibility & contrast

On white

2.75
#7997FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7997FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997FB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997FB#FFFFFF#000000##000000
##7997FB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#6097F9
Tritanopia (blue-blind)
#3BADBD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7997fb;
/* rgb */ color: rgb(121, 151, 251);
/* oklch */ color: oklch(69.8% 0.151 269.6);
Tailwind
colors: {
  custom: {
    50: '#a7b5fd',
    500: '#7997fb',
    950: '#000000',
  },
}
SCSS
$custom: #7997fb;
$custom-light: #a7b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7997fb",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 226.154,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69819,
    "c": 0.15066,
    "h": 269.6
  },
  "luminance": 0.33163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7997FB

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

Preview Lab → · Contrast checker → · Palette generator →

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