#97A5F9#97A5F9

#97A5F9 is a light, vivid blue. Relative luminance 0.403; OKLCH L 74.4% C 0.122 H 275.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#97A5F9
RGBrgb(151, 165, 249)
HSLhsl(231, 89%, 78%)
HSVhsv(231, 39%, 98%)
CMYKcmyk(39.4%, 33.7%, 0%, 2.4%)
CIE-LABlab(69.70, 15.36, -43.42)
CIE-LCHlch(69.70, 46.06, 289.48°)
OKLaboklab(74.45% 0.0124 -0.1216)
OKLCHoklch(74.45% 0.122 275.8)
XYZxyz(43.3114, 40.3272, 95.1060)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A5F9 #F9EB97
analogous
#97D6F9 #97A5F9 #BA97F9
triadic
#97A5F9 #F997A5 #A5F997
tetradic
#97A5F9 #F997D6 #F9EB97 #97F9BA
square
#97A5F9 #F997D6 #F9EB97 #97F9BA
split-complementary
#97A5F9 #F9BA97 #D6F997
monochromatic
#2341F2 #5D73F6 #97A5F9 #D1D7FC #E2E6FD

Accessibility & contrast

On white

2.32
#97A5F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#97A5F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A5F9
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A5F9#FFFFFF#000000##000000
##97A5F91.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFC
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#79B6C4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #97a5f9;
/* rgb */ color: rgb(151, 165, 249);
/* oklch */ color: oklch(74.4% 0.122 275.8);
Tailwind
colors: {
  custom: {
    50: '#b9bffb',
    500: '#97a5f9',
    950: '#000000',
  },
}
SCSS
$custom: #97a5f9;
$custom-light: #b9bffb;
$custom-dark: #000000;
JSON
{
  "hex": "#97a5f9",
  "rgb": {
    "r": 151,
    "g": 165,
    "b": 249
  },
  "hsl": {
    "h": 231.429,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74446,
    "c": 0.12227,
    "h": 275.8
  },
  "luminance": 0.40329
}

Semantic roles & 50–950 ramp

primary
#97A5F9
secondary
#F5F1D6
accent
#C500E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #97A5F9

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

Preview Lab → · Contrast checker → · Palette generator →

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