#818CD9#818CD9

#818CD9 is a light, moderate blue. Relative luminance 0.284; OKLCH L 66.3% C 0.115 H 276.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#818CD9
RGBrgb(129, 140, 217)
HSLhsl(233, 54%, 68%)
HSVhsv(233, 41%, 85%)
CMYKcmyk(40.6%, 35.5%, 0%, 14.9%)
CIE-LABlab(60.28, 15.22, -40.68)
CIE-LCHlch(60.28, 43.43, 290.51°)
OKLaboklab(66.32% 0.0132 -0.1142)
OKLCHoklch(66.32% 0.115 276.6)
XYZxyz(30.9520, 28.4317, 69.4892)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818CD9 #D9CE81
analogous
#81B8D9 #818CD9 #A281D9
triadic
#818CD9 #D9818C #8CD981
tetradic
#818CD9 #D981B8 #D9CE81 #81D9A2
square
#818CD9 #D981B8 #D9CE81 #81D9A2
split-complementary
#818CD9 #D9A281 #B8D981
monochromatic
#3443AC #5261CB #818CD9 #B0B7E7 #DFE2F5

Accessibility & contrast

On white

3.14
#818CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#818CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818CD9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818CD9#FFFFFF#000000##000000
##818CD91.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7295DC
Deuteranopia (green-blind)
#6B8ED7
Tritanopia (blue-blind)
#659BA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #818cd9;
/* rgb */ color: rgb(129, 140, 217);
/* oklch */ color: oklch(66.3% 0.115 276.6);
Tailwind
colors: {
  custom: {
    50: '#a9ade5',
    500: '#818cd9',
    950: '#000000',
  },
}
SCSS
$custom: #818cd9;
$custom-light: #a9ade5;
$custom-dark: #000000;
JSON
{
  "hex": "#818cd9",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 232.5,
    "s": 53.659,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6632,
    "c": 0.11493,
    "h": 276.6
  },
  "luminance": 0.28433
}

Semantic roles & 50–950 ramp

primary
#818CD9
secondary
#E8E5CD
accent
#AE24C1
background
#FAFAFE
surface
#F4F4FC
border
#CECED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #818CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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