#838CD9#838CD9

#838CD9 is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.5% C 0.115 H 277.7°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#838CD9
RGBrgb(131, 140, 217)
HSLhsl(234, 53%, 68%)
HSVhsv(234, 40%, 85%)
CMYKcmyk(39.6%, 35.5%, 0%, 14.9%)
CIE-LABlab(60.42, 15.74, -40.45)
CIE-LCHlch(60.42, 43.40, 291.26°)
OKLaboklab(66.47% 0.0154 -0.1135)
OKLCHoklch(66.47% 0.115 277.7)
XYZxyz(31.2589, 28.5899, 69.5035)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838CD9 #D9D083
analogous
#83B7D9 #838CD9 #A583D9
triadic
#838CD9 #D9838C #8CD983
tetradic
#838CD9 #D983B7 #D9D083 #83D9A5
square
#838CD9 #D983B7 #D9D083 #83D9A5
split-complementary
#838CD9 #D9A583 #B7D983
monochromatic
#3541AD #5461CB #838CD9 #B2B7E7 #E1E3F6

Accessibility & contrast

On white

3.13
#838CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#838CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838CD9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838CD9#FFFFFF#000000##000000
##838CD91.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7295DC
Deuteranopia (green-blind)
#6C8FD7
Tritanopia (blue-blind)
#699BA8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #838cd9;
/* rgb */ color: rgb(131, 140, 217);
/* oklch */ color: oklch(66.5% 0.115 277.7);
Tailwind
colors: {
  custom: {
    50: '#aaade5',
    500: '#838cd9',
    950: '#000000',
  },
}
SCSS
$custom: #838cd9;
$custom-light: #aaade5;
$custom-dark: #000000;
JSON
{
  "hex": "#838cd9",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 233.721,
    "s": 53.086,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66465,
    "c": 0.1145,
    "h": 277.7
  },
  "luminance": 0.28591
}

Semantic roles & 50–950 ramp

primary
#838CD9
secondary
#E9E6CF
accent
#B025C1
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #838CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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