#9799CF#9799CF

#9799CF is a light, moderate blue. Relative luminance 0.339; OKLCH L 70.1% C 0.079 H 282.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9799CF
RGBrgb(151, 153, 207)
HSLhsl(238, 37%, 70%)
HSVhsv(238, 27%, 81%)
CMYKcmyk(27.1%, 26.1%, 0%, 18.8%)
CIE-LABlab(64.86, 11.27, -27.86)
CIE-LCHlch(64.86, 30.05, 292.03°)
OKLaboklab(70.12% 0.0171 -0.0769)
OKLCHoklch(70.12% 0.079 282.5)
XYZxyz(35.4133, 33.8659, 63.6904)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799CF #CFCD97
analogous
#97B5CF #9799CF #B197CF
triadic
#9799CF #CF9799 #99CF97
tetradic
#9799CF #CF97B5 #CFCD97 #97CFB1
square
#9799CF #CF97B5 #CFCD97 #97CFB1
split-complementary
#9799CF #CFB197 #B5CF97
monochromatic
#4A4EA1 #6D70BC #9799CF #C1C2E2 #EAEAF5

Accessibility & contrast

On white

2.70
#9799CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9799CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799CF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799CF#FFFFFF#000000##000000
##9799CF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9FD1
Deuteranopia (green-blind)
#889CCE
Tritanopia (blue-blind)
#8AA3AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9799cf;
/* rgb */ color: rgb(151, 153, 207);
/* oklch */ color: oklch(70.1% 0.079 282.5);
Tailwind
colors: {
  custom: {
    50: '#b6b7dd',
    500: '#9799cf',
    950: '#000000',
  },
}
SCSS
$custom: #9799cf;
$custom-light: #b6b7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9799cf",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 207
  },
  "hsl": {
    "h": 237.857,
    "s": 36.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70123,
    "c": 0.07878,
    "h": 282.5
  },
  "luminance": 0.33867
}

Semantic roles & 50–950 ramp

primary
#9799CF
secondary
#E9E8D9
accent
#AB36B0
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#111115
muted
#808083

Preview Lab

Preview with #9799CF

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

Preview Lab → · Contrast checker → · Palette generator →

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