#7A97DF#7A97DF

#7A97DF is a light, moderate blue. Relative luminance 0.316; OKLCH L 68.4% C 0.112 H 266.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7A97DF
RGBrgb(122, 151, 223)
HSLhsl(223, 61%, 68%)
HSVhsv(223, 45%, 87%)
CMYKcmyk(45.3%, 32.3%, 0%, 12.5%)
CIE-LABlab(63.01, 8.75, -39.77)
CIE-LCHlch(63.01, 40.72, 282.41°)
OKLaboklab(68.4% -0.0063 -0.1116)
OKLCHoklch(68.4% 0.112 266.7)
XYZxyz(32.4077, 31.5966, 74.1888)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A97DF #DFC27A
analogous
#7ACADF #7A97DF #8F7ADF
triadic
#7A97DF #DF7A97 #97DF7A
tetradic
#7A97DF #DF7ACA #DFC27A #7ADF8F
square
#7A97DF #DF7ACA #DFC27A #7ADF8F
split-complementary
#7A97DF #DF8F7A #CADF7A
monochromatic
#2B52B3 #4970D3 #7A97DF #ABBEEB #DDE4F7

Accessibility & contrast

On white

2.87
#7A97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#7A97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A97DF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A97DF#FFFFFF#000000##000000
##7A97DF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a97df;
/* rgb */ color: rgb(122, 151, 223);
/* oklch */ color: oklch(68.4% 0.112 266.7);
Tailwind
colors: {
  custom: {
    50: '#a5b5e9',
    500: '#7a97df',
    950: '#000000',
  },
}
SCSS
$custom: #7a97df;
$custom-light: #a5b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a97df",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 222.772,
    "s": 61.212,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68404,
    "c": 0.1118,
    "h": 266.7
  },
  "luminance": 0.31599
}

Semantic roles & 50–950 ramp

primary
#7A97DF
secondary
#EAE1CB
accent
#971DC9
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #7A97DF

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

Preview Lab → · Contrast checker → · Palette generator →

#7A97DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva