#838FCF#838FCF

#838FCF is a light, moderate blue. Relative luminance 0.290; OKLCH L 66.6% C 0.096 H 275.3°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#838FCF
RGBrgb(131, 143, 207)
HSLhsl(231, 44%, 66%)
HSVhsv(231, 37%, 81%)
CMYKcmyk(36.7%, 30.9%, 0%, 18.8%)
CIE-LABlab(60.76, 11.24, -34.32)
CIE-LCHlch(60.76, 36.11, 288.13°)
OKLaboklab(66.58% 0.009 -0.0957)
OKLCHoklch(66.58% 0.096 275.3)
XYZxyz(30.4417, 28.9740, 63.0080)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838FCF #CFC383
analogous
#83B5CF #838FCF #9D83CF
triadic
#838FCF #CF838F #8FCF83
tetradic
#838FCF #CF83B5 #CFC383 #83CF9D
square
#838FCF #CF83B5 #CFC383 #83CF9D
split-complementary
#838FCF #CF9D83 #B5CF83
monochromatic
#3C4B9B #5767BE #838FCF #AFB7E0 #DBDFF1

Accessibility & contrast

On white

3.09
#838FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#838FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838FCF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838FCF#FFFFFF#000000##000000
##838FCF1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#7590CD
Tritanopia (blue-blind)
#6D9BA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #838fcf;
/* rgb */ color: rgb(131, 143, 207);
/* oklch */ color: oklch(66.6% 0.096 275.3);
Tailwind
colors: {
  custom: {
    50: '#a9afde',
    500: '#838fcf',
    950: '#000000',
  },
}
SCSS
$custom: #838fcf;
$custom-light: #a9afde;
$custom-dark: #000000;
JSON
{
  "hex": "#838fcf",
  "rgb": {
    "r": 131,
    "g": 143,
    "b": 207
  },
  "hsl": {
    "h": 230.526,
    "s": 44.186,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66581,
    "c": 0.09615,
    "h": 275.3
  },
  "luminance": 0.28975
}

Semantic roles & 50–950 ramp

primary
#838FCF
secondary
#E3DFCA
accent
#A22EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #838FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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