#7997F2#7997F2

#7997F2 is a light, vivid blue. Relative luminance 0.326; OKLCH L 69.3% C 0.138 H 268.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7997F2
RGBrgb(121, 151, 242)
HSLhsl(225, 82%, 71%)
HSVhsv(225, 50%, 95%)
CMYKcmyk(50%, 37.6%, 0%, 5.1%)
CIE-LABlab(63.84, 14.15, -48.95)
CIE-LCHlch(63.84, 50.95, 286.12°)
OKLaboklab(69.33% -0.0029 -0.1383)
OKLCHoklch(69.33% 0.138 268.8)
XYZxyz(34.9736, 32.6067, 88.4380)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997F2 #F2D479
analogous
#79D3F2 #7997F2 #9779F2
triadic
#7997F2 #F27997 #97F279
tetradic
#7997F2 #F279D3 #F2D479 #79F297
square
#7997F2 #F279D3 #F2D479 #79F297
split-complementary
#7997F2 #F29779 #D3F279
monochromatic
#1546DB #416CED #7997F2 #B1C2F7 #E3E9FC

Accessibility & contrast

On white

2.79
#7997F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#7997F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997F2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997F2#FFFFFF#000000##000000
##7997F21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#6696F0
Tritanopia (blue-blind)
#44AAB9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7997f2;
/* rgb */ color: rgb(121, 151, 242);
/* oklch */ color: oklch(69.3% 0.138 268.8);
Tailwind
colors: {
  custom: {
    50: '#a6b5f7',
    500: '#7997f2',
    950: '#000000',
  },
}
SCSS
$custom: #7997f2;
$custom-light: #a6b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7997f2",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 225.124,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69326,
    "c": 0.13836,
    "h": 268.8
  },
  "luminance": 0.32609
}

Semantic roles & 50–950 ramp

primary
#7997F2
secondary
#F3EBD3
accent
#A907DF
background
#FAFBFF
surface
#F4F6FE
border
#CED0D6
text
#101117
muted
#7F8085

Preview Lab

Preview with #7997F2

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

Preview Lab → · Contrast checker → · Palette generator →

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