#7997EA#7997EA

#7997EA is a light, vivid blue. Relative luminance 0.321; OKLCH L 68.9% C 0.127 H 267.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7997EA
RGBrgb(121, 151, 234)
HSLhsl(224, 73%, 70%)
HSVhsv(224, 48%, 92%)
CMYKcmyk(48.3%, 35.5%, 0%, 8.2%)
CIE-LABlab(63.46, 11.75, -45.15)
CIE-LCHlch(63.46, 46.66, 284.59°)
OKLaboklab(68.9% -0.0046 -0.1273)
OKLCHoklch(68.9% 0.127 267.9)
XYZxyz(33.7982, 32.1365, 82.2480)
Luminance0.3214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997EA #EACC79
analogous
#79CFEA #7997EA #9479EA
triadic
#7997EA #EA7997 #97EA79
tetradic
#7997EA #EA79CF #EACC79 #79EA94
square
#7997EA #EA79CF #EACC79 #79EA94
split-complementary
#7997EA #EA9479 #CFEA79
monochromatic
#204DC9 #446EE2 #7997EA #AEC0F2 #E3E9FB

Accessibility & contrast

On white

2.83
#7997EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7997EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997EA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997EA#FFFFFF#000000##000000
##7997EA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FED
Deuteranopia (green-blind)
#6C95E8
Tritanopia (blue-blind)
#4AA9B5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7997ea;
/* rgb */ color: rgb(121, 151, 234);
/* oklch */ color: oklch(68.9% 0.127 267.9);
Tailwind
colors: {
  custom: {
    50: '#a5b5f1',
    500: '#7997ea',
    950: '#000000',
  },
}
SCSS
$custom: #7997ea;
$custom-light: #a5b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7997ea",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 224.071,
    "s": 72.903,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68902,
    "c": 0.12735,
    "h": 267.9
  },
  "luminance": 0.32139
}

Semantic roles & 50–950 ramp

primary
#7997EA
secondary
#F0E7CF
accent
#A111D5
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7997EA

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

Preview Lab → · Contrast checker → · Palette generator →

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