#7997EF#7997EF

#7997EF is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.2% C 0.134 H 268.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7997EF
RGBrgb(121, 151, 239)
HSLhsl(225, 79%, 71%)
HSVhsv(225, 49%, 94%)
CMYKcmyk(49.4%, 36.8%, 0%, 6.3%)
CIE-LABlab(63.70, 13.25, -47.53)
CIE-LCHlch(63.70, 49.34, 285.57°)
OKLaboklab(69.16% -0.0035 -0.1342)
OKLCHoklch(69.16% 0.134 268.5)
XYZxyz(34.5267, 32.4279, 86.0845)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997EF #EFD179
analogous
#79D2EF #7997EF #9679EF
triadic
#7997EF #EF7997 #97EF79
tetradic
#7997EF #EF79D2 #EFD179 #79EF96
square
#7997EF #EF79D2 #EFD179 #79EF96
split-complementary
#7997EF #EF9679 #D2EF79
monochromatic
#1949D4 #426DE8 #7997EF #B0C1F6 #E4EAFC

Accessibility & contrast

On white

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

On black

7.49
#7997EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997EF
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997EF#FFFFFF#000000##000000
##7997EF1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#6895ED
Tritanopia (blue-blind)
#46AAB8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7997ef;
/* rgb */ color: rgb(121, 151, 239);
/* oklch */ color: oklch(69.2% 0.134 268.5);
Tailwind
colors: {
  custom: {
    50: '#a6b5f4',
    500: '#7997ef',
    950: '#000000',
  },
}
SCSS
$custom: #7997ef;
$custom-light: #a6b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7997ef",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 224.746,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69165,
    "c": 0.13424,
    "h": 268.5
  },
  "luminance": 0.3243
}

Semantic roles & 50–950 ramp

primary
#7997EF
secondary
#F2EAD2
accent
#A60BDB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7997EF

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

Preview Lab → · Contrast checker → · Palette generator →

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