#818CF9#818CF9

#818CF9 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.1% C 0.160 H 276.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#818CF9
RGBrgb(129, 140, 249)
HSLhsl(235, 91%, 74%)
HSVhsv(235, 48%, 98%)
CMYKcmyk(48.2%, 43.8%, 0%, 2.4%)
CIE-LABlab(61.88, 24.48, -55.88)
CIE-LCHlch(61.88, 61.00, 293.66°)
OKLaboklab(68.07% 0.0193 -0.1585)
OKLCHoklch(68.07% 0.16 276.9)
XYZxyz(35.5249, 30.2608, 93.5732)
Luminance0.3026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818CF9 #F9EE81
analogous
#81C8F9 #818CF9 #B281F9
triadic
#818CF9 #F9818C #8CF981
tetradic
#818CF9 #F981C8 #F9EE81 #81F9B2
square
#818CF9 #F981C8 #F9EE81 #81F9B2
split-complementary
#818CF9 #F9B281 #C8F981
monochromatic
#0C21F3 #4757F6 #818CF9 #BBC1FC #E2E4FE

Accessibility & contrast

On white

2.98
#818CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#818CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #818CF9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818CF9#FFFFFF#000000##000000
##818CF91.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFD
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#53A3B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #818cf9;
/* rgb */ color: rgb(129, 140, 249);
/* oklch */ color: oklch(68.1% 0.160 276.9);
Tailwind
colors: {
  custom: {
    50: '#acadfc',
    500: '#818cf9',
    950: '#000000',
  },
}
SCSS
$custom: #818cf9;
$custom-light: #acadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#818cf9",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 234.5,
    "s": 90.909,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68069,
    "c": 0.15968,
    "h": 276.9
  },
  "luminance": 0.30263
}

Semantic roles & 50–950 ramp

primary
#818CF9
secondary
#F6F3D5
accent
#D000E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #818CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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