#838DFD#838DFD

#838DFD is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.6% C 0.163 H 277.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#838DFD
RGBrgb(131, 141, 253)
HSLhsl(235, 97%, 75%)
HSVhsv(235, 48%, 99%)
CMYKcmyk(48.2%, 44.3%, 0%, 0.8%)
CIE-LABlab(62.48, 25.53, -57.11)
CIE-LCHlch(62.48, 62.55, 294.08°)
OKLaboklab(68.63% 0.0208 -0.1621)
OKLCHoklch(68.63% 0.163 277.3)
XYZxyz(36.6091, 30.9648, 96.9572)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838DFD #FDF383
analogous
#83CAFD #838DFD #B683FD
triadic
#838DFD #FD838D #8DFD83
tetradic
#838DFD #FD83CA #FDF383 #83FDB6
square
#838DFD #FD83CA #FDF383 #83FDB6
split-complementary
#838DFD #FDB683 #CAFD83
monochromatic
#0B1EFB #4756FC #838DFD #BFC4FE #E1E3FF

Accessibility & contrast

On white

2.92
#838DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#838DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838DFD
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838DFD#FFFFFF#000000##000000
##838DFD1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#5492FB
Tritanopia (blue-blind)
#54A5B9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #838dfd;
/* rgb */ color: rgb(131, 141, 253);
/* oklch */ color: oklch(68.6% 0.163 277.3);
Tailwind
colors: {
  custom: {
    50: '#adaefe',
    500: '#838dfd',
    950: '#000000',
  },
}
SCSS
$custom: #838dfd;
$custom-light: #adaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#838dfd",
  "rgb": {
    "r": 131,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 235.082,
    "s": 96.825,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68629,
    "c": 0.16339,
    "h": 277.3
  },
  "luminance": 0.30967
}

Semantic roles & 50–950 ramp

primary
#838DFD
secondary
#F7F4D4
accent
#D300E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #838DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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