#838BF8#838BF8

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

Color values

HEX#838BF8
RGBrgb(131, 139, 248)
HSLhsl(236, 89%, 74%)
HSVhsv(236, 47%, 97%)
CMYKcmyk(47.2%, 44%, 0%, 2.7%)
CIE-LABlab(61.71, 25.22, -55.58)
CIE-LCHlch(61.71, 61.04, 294.41°)
OKLaboklab(67.96% 0.0224 -0.1576)
OKLCHoklch(67.96% 0.159 278.1)
XYZxyz(35.5308, 30.0659, 92.7198)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838BF8 #F8F083
analogous
#83C6F8 #838BF8 #B583F8
triadic
#838BF8 #F8838B #8BF883
tetradic
#838BF8 #F883C6 #F8F083 #83F8B5
square
#838BF8 #F883C6 #F8F083 #83F8B5
split-complementary
#838BF8 #F8B583 #C6F883
monochromatic
#0F1FF1 #4955F5 #838BF8 #BDC1FB #E2E4FD

Accessibility & contrast

On white

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

On black

7.01
#838BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #838BF8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838BF8#FFFFFF#000000##000000
##838BF81.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#58A2B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #838bf8;
/* rgb */ color: rgb(131, 139, 248);
/* oklch */ color: oklch(68.0% 0.159 278.1);
Tailwind
colors: {
  custom: {
    50: '#adacfb',
    500: '#838bf8',
    950: '#000000',
  },
}
SCSS
$custom: #838bf8;
$custom-light: #adacfb;
$custom-dark: #000000;
JSON
{
  "hex": "#838bf8",
  "rgb": {
    "r": 131,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 235.897,
    "s": 89.313,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67959,
    "c": 0.1592,
    "h": 278.1
  },
  "luminance": 0.30068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #838BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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