#7997DF#7997DF

#7997DF is a light, moderate blue. Relative luminance 0.315; OKLCH L 68.3% C 0.112 H 266.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7997DF
RGBrgb(121, 151, 223)
HSLhsl(222, 61%, 67%)
HSVhsv(222, 46%, 87%)
CMYKcmyk(45.7%, 32.3%, 0%, 12.5%)
CIE-LABlab(62.95, 8.51, -39.87)
CIE-LCHlch(62.95, 40.77, 282.05°)
OKLaboklab(68.34% -0.0073 -0.1119)
OKLCHoklch(68.34% 0.112 266.2)
XYZxyz(32.2668, 31.5239, 74.1822)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7997DF #DFC179
analogous
#79CADF #7997DF #8E79DF
triadic
#7997DF #DF7997 #97DF79
tetradic
#7997DF #DF79CA #DFC179 #79DF8E
square
#7997DF #DF79CA #DFC179 #79DF8E
split-complementary
#7997DF #DF8E79 #CADF79
monochromatic
#2B53B3 #4871D3 #7997DF #AABDEB #DCE4F7

Accessibility & contrast

On white

2.87
#7997DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#7997DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7997DF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7997DF#FFFFFF#000000##000000
##7997DF1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE2
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#52A6B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7997df;
/* rgb */ color: rgb(121, 151, 223);
/* oklch */ color: oklch(68.3% 0.112 266.2);
Tailwind
colors: {
  custom: {
    50: '#a4b5e9',
    500: '#7997df',
    950: '#000000',
  },
}
SCSS
$custom: #7997df;
$custom-light: #a4b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7997df",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 222.353,
    "s": 61.446,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68342,
    "c": 0.11216,
    "h": 266.2
  },
  "luminance": 0.31526
}

Semantic roles & 50–950 ramp

primary
#7997DF
secondary
#EAE0CA
accent
#961CC9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7997DF

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

Preview Lab → · Contrast checker → · Palette generator →

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