#838EA2#838EA2

#838EA2 is a light, muted blue. Relative luminance 0.268; OKLCH L 64.5% C 0.033 H 262.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#838EA2
RGBrgb(131, 142, 162)
HSLhsl(219, 14%, 57%)
HSVhsv(219, 19%, 64%)
CMYKcmyk(19.1%, 12.3%, 0%, 36.5%)
CIE-LABlab(58.77, 0.42, -11.90)
CIE-LCHlch(58.77, 11.90, 272.03°)
OKLaboklab(64.46% -0.0043 -0.0323)
OKLCHoklch(64.46% 0.033 262.5)
XYZxyz(25.5530, 26.7794, 37.9981)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838EA2 #A29783
analogous
#839EA2 #838EA2 #8883A2
triadic
#838EA2 #A2838E #8EA283
tetradic
#838EA2 #A2839E #A29783 #83A288
square
#838EA2 #A2839E #A29783 #83A288
split-complementary
#838EA2 #A28883 #9EA283
monochromatic
#495261 #636F84 #838EA2 #A6AEBC #C9CED6

Accessibility & contrast

On white

3.30
#838EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#838EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838EA2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838EA2#FFFFFF#000000##000000
##838EA21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#888FA3
Deuteranopia (green-blind)
#858CA2
Tritanopia (blue-blind)
#7B9294
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #838ea2;
/* rgb */ color: rgb(131, 142, 162);
/* oklch */ color: oklch(64.5% 0.033 262.5);
Tailwind
colors: {
  custom: {
    50: '#a7afbd',
    500: '#838ea2',
    950: '#000000',
  },
}
SCSS
$custom: #838ea2;
$custom-light: #a7afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#838ea2",
  "rgb": {
    "r": 131,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 218.71,
    "s": 14.286,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64463,
    "c": 0.03258,
    "h": 262.5
  },
  "luminance": 0.2678
}

Semantic roles & 50–950 ramp

primary
#838EA2
secondary
#C7C2BA
accent
#9E71B7
background
#FAFAFB
surface
#F4F4F6
border
#CECED0
text
#0F1012
muted
#7F7F81

Preview Lab

Preview with #838EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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