#838CA2#838CA2

#838CA2 is a light, muted blue. Relative luminance 0.262; OKLCH L 64.0% C 0.035 H 267.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#838CA2
RGBrgb(131, 140, 162)
HSLhsl(223, 14%, 57%)
HSVhsv(223, 19%, 64%)
CMYKcmyk(19.1%, 13.6%, 0%, 36.5%)
CIE-LABlab(58.22, 1.56, -12.73)
CIE-LCHlch(58.22, 12.82, 276.98°)
OKLaboklab(64.03% -0.0013 -0.0346)
OKLCHoklch(64.03% 0.035 267.8)
XYZxyz(25.2581, 26.1896, 37.8998)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838CA2 #A29983
analogous
#839CA2 #838CA2 #8A83A2
triadic
#838CA2 #A2838C #8CA283
tetradic
#838CA2 #A2839C #A29983 #83A28A
square
#838CA2 #A2839C #A29983 #83A28A
split-complementary
#838CA2 #A28A83 #9CA283
monochromatic
#495061 #636D84 #838CA2 #A6ACBC #C9CDD6

Accessibility & contrast

On white

3.37
#838CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#838CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838CA2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838CA2#FFFFFF#000000##000000
##838CA21.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#868DA3
Deuteranopia (green-blind)
#838BA1
Tritanopia (blue-blind)
#7C9093
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #838ca2;
/* rgb */ color: rgb(131, 140, 162);
/* oklch */ color: oklch(64.0% 0.035 267.8);
Tailwind
colors: {
  custom: {
    50: '#a7adbd',
    500: '#838ca2',
    950: '#000000',
  },
}
SCSS
$custom: #838ca2;
$custom-light: #a7adbd;
$custom-dark: #000000;
JSON
{
  "hex": "#838ca2",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 222.581,
    "s": 14.286,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.03461,
    "h": 267.8
  },
  "luminance": 0.2619
}

Semantic roles & 50–950 ramp

primary
#838CA2
secondary
#C7C3BA
accent
#A371B7
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #838CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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