#818BF6#818BF6

#818BF6 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.7% C 0.157 H 277.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#818BF6
RGBrgb(129, 139, 246)
HSLhsl(235, 87%, 74%)
HSVhsv(235, 48%, 96%)
CMYKcmyk(47.6%, 43.5%, 0%, 3.5%)
CIE-LABlab(61.47, 24.18, -54.88)
CIE-LCHlch(61.47, 59.97, 293.78°)
OKLaboklab(67.7% 0.02 -0.1556)
OKLCHoklch(67.7% 0.157 277.3)
XYZxyz(34.9153, 29.7842, 91.0801)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818BF6 #F6EC81
analogous
#81C5F6 #818BF6 #B181F6
triadic
#818BF6 #F6818B #8BF681
tetradic
#818BF6 #F681C5 #F6EC81 #81F6B1
square
#818BF6 #F681C5 #F6EC81 #81F6B1
split-complementary
#818BF6 #F6B181 #C5F681
monochromatic
#1124EC #4856F2 #818BF6 #BAC0FA #E2E5FD

Accessibility & contrast

On white

3.02
#818BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#818BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818BF6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818BF6#FFFFFF#000000##000000
##818BF61.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#55A2B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #818bf6;
/* rgb */ color: rgb(129, 139, 246);
/* oklch */ color: oklch(67.7% 0.157 277.3);
Tailwind
colors: {
  custom: {
    50: '#acacfa',
    500: '#818bf6',
    950: '#000000',
  },
}
SCSS
$custom: #818bf6;
$custom-light: #acacfa;
$custom-dark: #000000;
JSON
{
  "hex": "#818bf6",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 234.872,
    "s": 86.667,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67704,
    "c": 0.15688,
    "h": 277.3
  },
  "luminance": 0.29786
}

Semantic roles & 50–950 ramp

primary
#818BF6
secondary
#F5F2D6
accent
#D002E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818BF6

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

Preview Lab → · Contrast checker → · Palette generator →

#818BF6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva