#9799EF#9799EF

#9799EF is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.6% C 0.124 H 281.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9799EF
RGBrgb(151, 153, 239)
HSLhsl(239, 73%, 76%)
HSVhsv(239, 37%, 94%)
CMYKcmyk(36.8%, 36%, 0%, 6.3%)
CIE-LABlab(66.21, 19.51, -43.44)
CIE-LCHlch(66.21, 47.62, 294.18°)
OKLaboklab(71.61% 0.0254 -0.1217)
OKLCHoklch(71.61% 0.124 281.8)
XYZxyz(39.7293, 35.5923, 86.4213)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9799EF #EFED97
analogous
#97C5EF #9799EF #C197EF
triadic
#9799EF #EF9799 #99EF97
tetradic
#9799EF #EF97C5 #EFED97 #97EFC1
square
#9799EF #EF97C5 #EFED97 #97EFC1
split-complementary
#9799EF #EFC197 #C5EF97
monochromatic
#2D31DF #6265E7 #9799EF #CCCDF7 #E4E5FB

Accessibility & contrast

On white

2.59
#9799EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#9799EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9799EF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9799EF#FFFFFF#000000##000000
##9799EF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F2
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#7EAAB9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9799ef;
/* rgb */ color: rgb(151, 153, 239);
/* oklch */ color: oklch(71.6% 0.124 281.8);
Tailwind
colors: {
  custom: {
    50: '#b8b7f4',
    500: '#9799ef',
    950: '#000000',
  },
}
SCSS
$custom: #9799ef;
$custom-light: #b8b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9799ef",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 238.636,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7161,
    "c": 0.12433,
    "h": 281.8
  },
  "luminance": 0.35594
}

Semantic roles & 50–950 ramp

primary
#9799EF
secondary
#F3F2D8
accent
#D110D5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9799EF

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

Preview Lab → · Contrast checker → · Palette generator →

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