#7997EE#7997EE

#7997EE is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.1% C 0.133 H 268.4°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#7997EE
RGBrgb(121, 151, 238)
HSLhsl(225, 77%, 70%)
HSVhsv(225, 49%, 93%)
CMYKcmyk(49.2%, 36.6%, 0%, 6.7%)
CIE-LABlab(63.65, 12.95, -47.06)
CIE-LCHlch(63.65, 48.80, 285.38°)
OKLaboklab(69.11% -0.0037 -0.1328)
OKLCHoklch(69.11% 0.133 268.4)
XYZxyz(34.3794, 32.3690, 85.3086)
Luminance0.3237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997EE #EED079
analogous
#79D2EE #7997EE #9579EE
triadic
#7997EE #EE7997 #97EE79
tetradic
#7997EE #EE79D2 #EED079 #79EE95
square
#7997EE #EE79D2 #EED079 #79EE95
split-complementary
#7997EE #EE9579 #D2EE79
monochromatic
#1B4AD2 #436DE7 #7997EE #AFC1F5 #E4EAFC

Accessibility & contrast

On white

2.81
#7997EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#7997EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997EE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997EE#FFFFFF#000000##000000
##7997EE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F2
Deuteranopia (green-blind)
#6995EC
Tritanopia (blue-blind)
#47A9B7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7997ee;
/* rgb */ color: rgb(121, 151, 238);
/* oklch */ color: oklch(69.1% 0.133 268.4);
Tailwind
colors: {
  custom: {
    50: '#a6b5f4',
    500: '#7997ee',
    950: '#000000',
  },
}
SCSS
$custom: #7997ee;
$custom-light: #a6b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7997ee",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 224.615,
    "s": 77.483,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69112,
    "c": 0.13286,
    "h": 268.4
  },
  "luminance": 0.32371
}

Semantic roles & 50–950 ramp

primary
#7997EE
secondary
#F1E9D1
accent
#A50CDA
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7997EE

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

Preview Lab → · Contrast checker → · Palette generator →

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