#818CFB#818CFB

#818CFB is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.2% C 0.162 H 276.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#818CFB
RGBrgb(129, 140, 251)
HSLhsl(235, 94%, 75%)
HSVhsv(235, 49%, 98%)
CMYKcmyk(48.6%, 44.2%, 0%, 1.6%)
CIE-LABlab(61.99, 25.07, -56.80)
CIE-LCHlch(61.99, 62.09, 293.82°)
OKLaboklab(68.19% 0.0196 -0.1612)
OKLCHoklch(68.19% 0.162 276.9)
XYZxyz(35.8385, 30.3863, 95.2248)
Luminance0.3039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818CFB #FBF081
analogous
#81C9FB #818CFB #B381FB
triadic
#818CFB #FB818C #8CFB81
tetradic
#818CFB #FB81C9 #FBF081 #81FBB3
square
#818CFB #FB81C9 #FBF081 #81FBB3
split-complementary
#818CFB #FBB381 #C9FB81
monochromatic
#0A20F7 #4656F9 #818CFB #BCC2FD #E1E4FE

Accessibility & contrast

On white

2.97
#818CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#818CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818CFB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818CFB#FFFFFF#000000##000000
##818CFB1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#51A4B7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #818cfb;
/* rgb */ color: rgb(129, 140, 251);
/* oklch */ color: oklch(68.2% 0.162 276.9);
Tailwind
colors: {
  custom: {
    50: '#acadfd',
    500: '#818cfb',
    950: '#000000',
  },
}
SCSS
$custom: #818cfb;
$custom-light: #acadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#818cfb",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 234.59,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68186,
    "c": 0.1624,
    "h": 276.9
  },
  "luminance": 0.30388
}

Semantic roles & 50–950 ramp

primary
#818CFB
secondary
#F6F3D5
accent
#D100E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #818CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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