#838BF9#838BF9

#838BF9 is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.161 H 278.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#838BF9
RGBrgb(131, 139, 249)
HSLhsl(236, 91%, 75%)
HSVhsv(236, 47%, 98%)
CMYKcmyk(47.4%, 44.2%, 0%, 2.4%)
CIE-LABlab(61.76, 25.52, -56.05)
CIE-LCHlch(61.76, 61.58, 294.48°)
OKLaboklab(68.02% 0.0226 -0.159)
OKLCHoklch(68.02% 0.161 278.1)
XYZxyz(35.6863, 30.1281, 93.5391)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838BF9 #F9F183
analogous
#83C6F9 #838BF9 #B683F9
triadic
#838BF9 #F9838B #8BF983
tetradic
#838BF9 #F983C6 #F9F183 #83F9B6
square
#838BF9 #F983C6 #F9F183 #83F9B6
split-complementary
#838BF9 #F9B683 #C6F983
monochromatic
#0E1EF3 #4954F6 #838BF9 #BDC2FC #E2E4FE

Accessibility & contrast

On white

2.99
#838BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#838BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838BF9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838BF9#FFFFFF#000000##000000
##838BF91.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#57A2B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #838bf9;
/* rgb */ color: rgb(131, 139, 249);
/* oklch */ color: oklch(68.0% 0.161 278.1);
Tailwind
colors: {
  custom: {
    50: '#adacfc',
    500: '#838bf9',
    950: '#000000',
  },
}
SCSS
$custom: #838bf9;
$custom-light: #adacfc;
$custom-dark: #000000;
JSON
{
  "hex": "#838bf9",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 235.932,
    "s": 90.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68017,
    "c": 0.16057,
    "h": 278.1
  },
  "luminance": 0.3013
}

Semantic roles & 50–950 ramp

primary
#838BF9
secondary
#F6F4D5
accent
#D600E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #838BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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