#838AAA#838AAA

#838AAA is a light, muted blue. Relative luminance 0.259; OKLCH L 63.9% C 0.049 H 275.3°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#838AAA
RGBrgb(131, 138, 170)
HSLhsl(229, 19%, 59%)
HSVhsv(229, 23%, 67%)
CMYKcmyk(22.9%, 18.8%, 0%, 33.3%)
CIE-LABlab(57.95, 4.60, -17.71)
CIE-LCHlch(57.95, 18.30, 284.56°)
OKLaboklab(63.91% 0.0045 -0.0484)
OKLCHoklch(63.91% 0.049 275.3)
XYZxyz(25.7024, 25.9040, 41.6682)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838AAA #AAA383
analogous
#839EAA #838AAA #9083AA
triadic
#838AAA #AA838A #8AAA83
tetradic
#838AAA #AA839E #AAA383 #83AA90
square
#838AAA #AA839E #AAA383 #83AA90
split-complementary
#838AAA #AA9083 #9EAA83
monochromatic
#494F6A #626A8E #838AAA #A7ACC3 #CCCFDC

Accessibility & contrast

On white

3.40
#838AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#838AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838AAA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838AAA#FFFFFF#000000##000000
##838AAA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #838aaa;
/* rgb */ color: rgb(131, 138, 170);
/* oklch */ color: oklch(63.9% 0.049 275.3);
Tailwind
colors: {
  custom: {
    50: '#a7acc3',
    500: '#838aaa',
    950: '#000000',
  },
}
SCSS
$custom: #838aaa;
$custom-light: #a7acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#838aaa",
  "rgb": {
    "r": 131,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 229.231,
    "s": 18.66,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.04866,
    "h": 275.3
  },
  "luminance": 0.25905
}

Semantic roles & 50–950 ramp

primary
#838AAA
secondary
#CCC9BD
accent
#AD6CBB
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #838AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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