#9799CB#9799CB

#9799CB is a light, moderate blue. Relative luminance 0.337; OKLCH L 70.0% C 0.073 H 282.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9799CB
RGBrgb(151, 153, 203)
HSLhsl(238, 33%, 69%)
HSVhsv(238, 26%, 80%)
CMYKcmyk(25.6%, 24.6%, 0%, 20.4%)
CIE-LABlab(64.70, 10.29, -25.87)
CIE-LCHlch(64.70, 27.84, 291.70°)
OKLaboklab(69.95% 0.0159 -0.0712)
OKLCHoklch(69.95% 0.073 282.5)
XYZxyz(34.9305, 33.6728, 61.1475)
Luminance0.3367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799CB #CBC997
analogous
#97B3CB #9799CB #AF97CB
triadic
#9799CB #CB9799 #99CB97
tetradic
#9799CB #CB97B3 #CBC997 #97CBAF
square
#9799CB #CB97B3 #CBC997 #97CBAF
split-complementary
#9799CB #CBAF97 #B3CB97
monochromatic
#4D509A #6E71B7 #9799CB #C0C1DF #E9E9F4

Accessibility & contrast

On white

2.72
#9799CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9799CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799CB
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799CB#FFFFFF#000000##000000
##9799CB1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9FCD
Deuteranopia (green-blind)
#899BCA
Tritanopia (blue-blind)
#8BA2AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9799cb;
/* rgb */ color: rgb(151, 153, 203);
/* oklch */ color: oklch(70.0% 0.073 282.5);
Tailwind
colors: {
  custom: {
    50: '#b6b7db',
    500: '#9799cb',
    950: '#000000',
  },
}
SCSS
$custom: #9799cb;
$custom-light: #b6b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#9799cb",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 203
  },
  "hsl": {
    "h": 237.692,
    "s": 33.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69953,
    "c": 0.07299,
    "h": 282.5
  },
  "luminance": 0.33674
}

Semantic roles & 50–950 ramp

primary
#9799CB
secondary
#E6E6D7
accent
#A839AC
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #9799CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9799CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva