#838DCD#838DCD

#838DCD is a light, moderate blue. Relative luminance 0.283; OKLCH L 66.1% C 0.096 H 276.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#838DCD
RGBrgb(131, 141, 205)
HSLhsl(232, 43%, 66%)
HSVhsv(232, 36%, 80%)
CMYKcmyk(36.1%, 31.2%, 0%, 19.6%)
CIE-LABlab(60.14, 11.86, -34.16)
CIE-LCHlch(60.14, 36.16, 289.14°)
OKLaboklab(66.08% 0.0111 -0.0953)
OKLCHoklch(66.08% 0.096 276.6)
XYZxyz(29.9012, 28.2817, 61.6292)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838DCD #CDC383
analogous
#83B2CD #838DCD #9E83CD
triadic
#838DCD #CD838D #8DCD83
tetradic
#838DCD #CD83B2 #CDC383 #83CD9E
square
#838DCD #CD83B2 #CDC383 #83CD9E
split-complementary
#838DCD #CD9E83 #B2CD83
monochromatic
#3D4A98 #5765BB #838DCD #AFB5DF #DADDF0

Accessibility & contrast

On white

3.15
#838DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#838DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838DCD
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838DCD#FFFFFF#000000##000000
##838DCD1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#748ECB
Tritanopia (blue-blind)
#6E99A4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #838dcd;
/* rgb */ color: rgb(131, 141, 205);
/* oklch */ color: oklch(66.1% 0.096 276.6);
Tailwind
colors: {
  custom: {
    50: '#a9aedc',
    500: '#838dcd',
    950: '#000000',
  },
}
SCSS
$custom: #838dcd;
$custom-light: #a9aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#838dcd",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 231.892,
    "s": 42.529,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66076,
    "c": 0.09591,
    "h": 276.6
  },
  "luminance": 0.28283
}

Semantic roles & 50–950 ramp

primary
#838DCD
secondary
#E2DFCA
accent
#A430B6
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #838DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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