#7A97EF#7A97EF

#7A97EF is a light, vivid blue. Relative luminance 0.325; OKLCH L 69.2% C 0.134 H 268.9°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7A97EF
RGBrgb(122, 151, 239)
HSLhsl(225, 79%, 71%)
HSVhsv(225, 49%, 94%)
CMYKcmyk(49%, 36.8%, 0%, 6.3%)
CIE-LABlab(63.75, 13.47, -47.43)
CIE-LCHlch(63.75, 49.31, 285.86°)
OKLaboklab(69.23% -0.0025 -0.1339)
OKLCHoklch(69.23% 0.134 268.9)
XYZxyz(34.6676, 32.5006, 86.0911)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A97EF #EFD27A
analogous
#7AD1EF #7A97EF #977AEF
triadic
#7A97EF #EF7A97 #97EF7A
tetradic
#7A97EF #EF7AD1 #EFD27A #7AEF97
square
#7A97EF #EF7AD1 #EFD27A #7AEF97
split-complementary
#7A97EF #EF977A #D1EF7A
monochromatic
#1A48D5 #436CE8 #7A97EF #B1C2F6 #E4EAFC

Accessibility & contrast

On white

2.80
#7A97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#7A97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7A97EF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A97EF#FFFFFF#000000##000000
##7A97EF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a97ef;
/* rgb */ color: rgb(122, 151, 239);
/* oklch */ color: oklch(69.2% 0.134 268.9);
Tailwind
colors: {
  custom: {
    50: '#a6b5f4',
    500: '#7a97ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a97ef;
$custom-light: #a6b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a97ef",
  "rgb": {
    "r": 122,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 225.128,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69227,
    "c": 0.13391,
    "h": 268.9
  },
  "luminance": 0.32503
}

Semantic roles & 50–950 ramp

primary
#7A97EF
secondary
#F2EAD3
accent
#A70BDB
background
#FAFBFE
surface
#F4F6FD
border
#CED0D5
text
#101117
muted
#7F8085

Preview Lab

Preview with #7A97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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