#838DE3#838DE3

#838DE3 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.2% C 0.127 H 277.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#838DE3
RGBrgb(131, 141, 227)
HSLhsl(234, 63%, 70%)
HSVhsv(234, 42%, 89%)
CMYKcmyk(42.3%, 37.9%, 0%, 11%)
CIE-LABlab(61.15, 17.97, -44.87)
CIE-LCHlch(61.15, 48.33, 291.83°)
OKLaboklab(67.18% 0.0163 -0.1263)
OKLCHoklch(67.18% 0.127 277.4)
XYZxyz(32.7459, 29.4196, 76.6113)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838DE3 #E3D983
analogous
#83BDE3 #838DE3 #A983E3
triadic
#838DE3 #E3838D #8DE383
tetradic
#838DE3 #E383BD #E3D983 #83E3A9
square
#838DE3 #E383BD #E3D983 #83E3A9
split-complementary
#838DE3 #E3A983 #BDE383
monochromatic
#2B3BC0 #515FD8 #838DE3 #B5BBEE #E6E8F9

Accessibility & contrast

On white

3.05
#838DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#838DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838DE3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838DE3#FFFFFF#000000##000000
##838DE31.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#6890E1
Tritanopia (blue-blind)
#649EAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #838de3;
/* rgb */ color: rgb(131, 141, 227);
/* oklch */ color: oklch(67.2% 0.127 277.4);
Tailwind
colors: {
  custom: {
    50: '#abaeec',
    500: '#838de3',
    950: '#000000',
  },
}
SCSS
$custom: #838de3;
$custom-light: #abaeec;
$custom-dark: #000000;
JSON
{
  "hex": "#838de3",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 227
  },
  "hsl": {
    "h": 233.75,
    "s": 63.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67183,
    "c": 0.12734,
    "h": 277.4
  },
  "luminance": 0.29421
}

Semantic roles & 50–950 ramp

primary
#838DE3
secondary
#EEEBD4
accent
#B91BCB
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #838DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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