#818AAA#818AAA

#818AAA is a light, muted blue. Relative luminance 0.257; OKLCH L 63.8% C 0.049 H 272.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#818AAA
RGBrgb(129, 138, 170)
HSLhsl(227, 19%, 59%)
HSVhsv(227, 24%, 67%)
CMYKcmyk(24.1%, 18.8%, 0%, 33.3%)
CIE-LABlab(57.79, 3.96, -17.95)
CIE-LCHlch(57.79, 18.39, 282.43°)
OKLaboklab(63.76% 0.0023 -0.0492)
OKLCHoklch(63.76% 0.049 272.7)
XYZxyz(25.3956, 25.7457, 41.6538)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818AAA #AAA181
analogous
#819EAA #818AAA #8C81AA
triadic
#818AAA #AA818A #8AAA81
tetradic
#818AAA #AA819E #AAA181 #81AA8C
square
#818AAA #AA819E #AAA181 #81AA8C
split-complementary
#818AAA #AA8C81 #9EAA81
monochromatic
#474F69 #606A8E #818AAA #A6ACC3 #CACEDB

Accessibility & contrast

On white

3.42
#818AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#818AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818AAA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818AAA#FFFFFF#000000##000000
##818AAA1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAB
Deuteranopia (green-blind)
#7E89A9
Tritanopia (blue-blind)
#779095
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #818aaa;
/* rgb */ color: rgb(129, 138, 170);
/* oklch */ color: oklch(63.8% 0.049 272.7);
Tailwind
colors: {
  custom: {
    50: '#a6acc3',
    500: '#818aaa',
    950: '#000000',
  },
}
SCSS
$custom: #818aaa;
$custom-light: #a6acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#818aaa",
  "rgb": {
    "r": 129,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 226.829,
    "s": 19.431,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63755,
    "c": 0.04921,
    "h": 272.7
  },
  "luminance": 0.25746
}

Semantic roles & 50–950 ramp

primary
#818AAA
secondary
#CCC8BB
accent
#AA6CBC
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #818AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#818AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva