#97A2F2#97A2F2

#97A2F2 is a light, moderate blue. Relative luminance 0.388; OKLCH L 73.5% C 0.116 H 277.1°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#97A2F2
RGBrgb(151, 162, 242)
HSLhsl(233, 78%, 77%)
HSVhsv(233, 38%, 95%)
CMYKcmyk(37.6%, 33.1%, 0%, 5.1%)
CIE-LABlab(68.63, 15.17, -41.29)
CIE-LCHlch(68.63, 43.99, 290.18°)
OKLaboklab(73.52% 0.0145 -0.1155)
OKLCHoklch(73.52% 0.116 277.1)
XYZxyz(41.7052, 38.8291, 89.2845)
Luminance0.3883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97A2F2 #F2E797
analogous
#97D0F2 #97A2F2 #BA97F2
triadic
#97A2F2 #F297A2 #A2F297
tetradic
#97A2F2 #F297D0 #F2E797 #97F2BA
square
#97A2F2 #F297D0 #F2E797 #97F2BA
split-complementary
#97A2F2 #F2BA97 #D0F297
monochromatic
#2A41E4 #6171EB #97A2F2 #CDD3F9 #E4E7FC

Accessibility & contrast

On white

2.40
#97A2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#97A2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #97A2F2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97A2F2#FFFFFF#000000##000000
##97A2F21.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#82A4F0
Tritanopia (blue-blind)
#7CB2BF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #97a2f2;
/* rgb */ color: rgb(151, 162, 242);
/* oklch */ color: oklch(73.5% 0.116 277.1);
Tailwind
colors: {
  custom: {
    50: '#b8bdf6',
    500: '#97a2f2',
    950: '#000000',
  },
}
SCSS
$custom: #97a2f2;
$custom-light: #b8bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#97a2f2",
  "rgb": {
    "r": 151,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 232.747,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73516,
    "c": 0.11638,
    "h": 277.1
  },
  "luminance": 0.38831
}

Semantic roles & 50–950 ramp

primary
#97A2F2
secondary
#F3F0D8
accent
#C10BDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121217
muted
#818185

Preview Lab

Preview with #97A2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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