#97AFF2#97AFF2

#97AFF2 is a light, moderate blue. Relative luminance 0.436; OKLCH L 76.1% C 0.100 H 268.8°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#97AFF2
RGBrgb(151, 175, 242)
HSLhsl(224, 78%, 77%)
HSVhsv(224, 38%, 95%)
CMYKcmyk(37.6%, 27.7%, 0%, 5.1%)
CIE-LABlab(71.99, 7.85, -36.05)
CIE-LCHlch(71.99, 36.89, 282.28°)
OKLaboklab(76.12% -0.0021 -0.1004)
OKLCHoklch(76.12% 0.1 268.8)
XYZxyz(44.1147, 43.6480, 90.0877)
Luminance0.4365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97AFF2 #F2DA97
analogous
#97DDF2 #97AFF2 #AD97F2
triadic
#97AFF2 #F297AF #AFF297
tetradic
#97AFF2 #F297DD #F2DA97 #97F2AD
square
#97AFF2 #F297DD #F2DA97 #97F2AD
split-complementary
#97AFF2 #F2AD97 #DDF297
monochromatic
#2A5BE4 #6185EB #97AFF2 #CDD9F9 #E4EAFC

Accessibility & contrast

On white

2.16
#97AFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#97AFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97AFF2
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97AFF2#FFFFFF#000000##000000
##97AFF21.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B5F5
Deuteranopia (green-blind)
#90ADF0
Tritanopia (blue-blind)
#7BBCC6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #97aff2;
/* rgb */ color: rgb(151, 175, 242);
/* oklch */ color: oklch(76.1% 0.100 268.8);
Tailwind
colors: {
  custom: {
    50: '#b8c6f6',
    500: '#97aff2',
    950: '#000000',
  },
}
SCSS
$custom: #97aff2;
$custom-light: #b8c6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#97aff2",
  "rgb": {
    "r": 151,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 224.176,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76124,
    "c": 0.10039,
    "h": 268.8
  },
  "luminance": 0.4365
}

Semantic roles & 50–950 ramp

primary
#97AFF2
secondary
#F3ECD8
accent
#A40BDA
background
#FBFCFF
surface
#F6F8FE
border
#D0D1D6
text
#121317
muted
#818285

Preview Lab

Preview with #97AFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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