#97A2EC#97A2EC

#97A2EC is a light, moderate blue. Relative luminance 0.385; OKLCH L 73.2% C 0.108 H 276.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#97A2EC
RGBrgb(151, 162, 236)
HSLhsl(232, 69%, 76%)
HSVhsv(232, 36%, 93%)
CMYKcmyk(36%, 31.4%, 0%, 7.5%)
CIE-LABlab(68.37, 13.57, -38.41)
CIE-LCHlch(68.37, 40.74, 289.46°)
OKLaboklab(73.23% 0.013 -0.1072)
OKLCHoklch(73.23% 0.108 276.9)
XYZxyz(40.8188, 38.4745, 84.6162)
Luminance0.3848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A2EC #ECE197
analogous
#97CCEC #97A2EC #B697EC
triadic
#97A2EC #EC97A2 #A2EC97
tetradic
#97A2EC #EC97CC #ECE197 #97ECB6
square
#97A2EC #EC97CC #ECE197 #97ECB6
split-complementary
#97A2EC #ECB697 #CCEC97
monochromatic
#3045D9 #6374E3 #97A2EC #CBD0F5 #E5E8FA

Accessibility & contrast

On white

2.42
#97A2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#97A2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A2EC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A2EC#FFFFFF#000000##000000
##97A2EC1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#7FB0BD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97a2ec;
/* rgb */ color: rgb(151, 162, 236);
/* oklch */ color: oklch(73.2% 0.108 276.9);
Tailwind
colors: {
  custom: {
    50: '#b8bdf2',
    500: '#97a2ec',
    950: '#000000',
  },
}
SCSS
$custom: #97a2ec;
$custom-light: #b8bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#97a2ec",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 232.235,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73232,
    "c": 0.10796,
    "h": 276.9
  },
  "luminance": 0.38476
}

Semantic roles & 50–950 ramp

primary
#97A2EC
secondary
#F2EFD9
accent
#B914D1
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #97A2EC

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

Preview Lab → · Contrast checker → · Palette generator →

#97A2EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva