#818CCE#818CCE

#818CCE is a light, moderate blue. Relative luminance 0.279; OKLCH L 65.8% C 0.099 H 276.1°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#818CCE
RGBrgb(129, 140, 206)
HSLhsl(231, 44%, 66%)
HSVhsv(231, 37%, 81%)
CMYKcmyk(37.4%, 32%, 0%, 19.2%)
CIE-LABlab(59.78, 12.16, -35.30)
CIE-LCHlch(59.78, 37.34, 289.01°)
OKLaboklab(65.77% 0.0105 -0.0986)
OKLCHoklch(65.77% 0.099 276.1)
XYZxyz(29.5687, 27.8783, 62.2036)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818CCE #CEC381
analogous
#81B2CE #818CCE #9C81CE
triadic
#818CCE #CE818C #8CCE81
tetradic
#818CCE #CE81B2 #CEC381 #81CE9C
square
#818CCE #CE81B2 #CEC381 #81CE9C
split-complementary
#818CCE #CE9C81 #B2CE81
monochromatic
#3C4999 #5564BD #818CCE #ADB4DF #D9DCF0

Accessibility & contrast

On white

3.19
#818CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#818CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818CCE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818CCE#FFFFFF#000000##000000
##818CCE1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7793D1
Deuteranopia (green-blind)
#718DCC
Tritanopia (blue-blind)
#6A99A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #818cce;
/* rgb */ color: rgb(129, 140, 206);
/* oklch */ color: oklch(65.8% 0.099 276.1);
Tailwind
colors: {
  custom: {
    50: '#a8addd',
    500: '#818cce',
    950: '#000000',
  },
}
SCSS
$custom: #818cce;
$custom-light: #a8addd;
$custom-dark: #000000;
JSON
{
  "hex": "#818cce",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 206
  },
  "hsl": {
    "h": 231.429,
    "s": 44,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65773,
    "c": 0.09915,
    "h": 276.1
  },
  "luminance": 0.2788
}

Semantic roles & 50–950 ramp

primary
#818CCE
secondary
#E2DFC9
accent
#A42EB7
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #818CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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