#8799EC#8799EC

#8799EC is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.3% C 0.123 H 273.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8799EC
RGBrgb(135, 153, 236)
HSLhsl(229, 73%, 73%)
HSVhsv(229, 43%, 93%)
CMYKcmyk(42.8%, 35.2%, 0%, 7.5%)
CIE-LABlab(64.95, 14.56, -43.84)
CIE-LCHlch(64.95, 46.19, 288.37°)
OKLaboklab(70.32% 0.0076 -0.1232)
OKLCHoklch(70.32% 0.123 273.5)
XYZxyz(36.5186, 33.9876, 83.9767)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8799EC #ECDA87
analogous
#87CBEC #8799EC #A787EC
triadic
#8799EC #EC8799 #99EC87
tetradic
#8799EC #EC87CB #ECDA87 #87ECA7
square
#8799EC #EC87CB #ECDA87 #87ECA7
split-complementary
#8799EC #ECA787 #CBEC87
monochromatic
#2242D7 #526CE4 #8799EC #BCC6F4 #E5E9FB

Accessibility & contrast

On white

2.69
#8799EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#8799EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8799EC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8799EC#FFFFFF#000000##000000
##8799EC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#739AEA
Tritanopia (blue-blind)
#65AAB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8799ec;
/* rgb */ color: rgb(135, 153, 236);
/* oklch */ color: oklch(70.3% 0.123 273.5);
Tailwind
colors: {
  custom: {
    50: '#aeb6f2',
    500: '#8799ec',
    950: '#000000',
  },
}
SCSS
$custom: #8799ec;
$custom-light: #aeb6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8799ec",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 229.307,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70317,
    "c": 0.12341,
    "h": 273.5
  },
  "luminance": 0.33989
}

Semantic roles & 50–950 ramp

primary
#8799EC
secondary
#F2EED9
accent
#B211D5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8799EC

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

Preview Lab → · Contrast checker → · Palette generator →

#8799EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva