#818CD6#818CD6

#818CD6 is a light, moderate blue. Relative luminance 0.283; OKLCH L 66.2% C 0.111 H 276.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#818CD6
RGBrgb(129, 140, 214)
HSLhsl(232, 51%, 67%)
HSVhsv(232, 40%, 84%)
CMYKcmyk(39.7%, 34.6%, 0%, 16.1%)
CIE-LABlab(60.14, 14.38, -39.22)
CIE-LCHlch(60.14, 41.77, 290.13°)
OKLaboklab(66.17% 0.0125 -0.1099)
OKLCHoklch(66.17% 0.111 276.5)
XYZxyz(30.5654, 28.2770, 67.4528)
Luminance0.2828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818CD6 #D6CB81
analogous
#81B7D6 #818CD6 #A081D6
triadic
#818CD6 #D6818C #8CD681
tetradic
#818CD6 #D681B7 #D6CB81 #81D6A0
square
#818CD6 #D681B7 #D6CB81 #81D6A0
split-complementary
#818CD6 #D6A081 #B7D681
monochromatic
#3645A6 #5362C7 #818CD6 #AFB6E5 #DDE0F4

Accessibility & contrast

On white

3.16
#818CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#818CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818CD6
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818CD6#FFFFFF#000000##000000
##818CD61.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D9
Deuteranopia (green-blind)
#6D8ED4
Tritanopia (blue-blind)
#679BA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #818cd6;
/* rgb */ color: rgb(129, 140, 214);
/* oklch */ color: oklch(66.2% 0.111 276.5);
Tailwind
colors: {
  custom: {
    50: '#a9ade3',
    500: '#818cd6',
    950: '#000000',
  },
}
SCSS
$custom: #818cd6;
$custom-light: #a9ade3;
$custom-dark: #000000;
JSON
{
  "hex": "#818cd6",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 232.235,
    "s": 50.898,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66168,
    "c": 0.11064,
    "h": 276.5
  },
  "luminance": 0.28278
}

Semantic roles & 50–950 ramp

primary
#818CD6
secondary
#E7E3CC
accent
#AB27BE
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #818CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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