#818DCA#818DCA

#818DCA is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.8% C 0.092 H 275.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#818DCA
RGBrgb(129, 141, 202)
HSLhsl(230, 41%, 65%)
HSVhsv(230, 36%, 79%)
CMYKcmyk(36.1%, 30.2%, 0%, 20.8%)
CIE-LABlab(59.87, 10.49, -32.91)
CIE-LCHlch(59.87, 34.54, 287.68°)
OKLaboklab(65.79% 0.0081 -0.0917)
OKLCHoklch(65.79% 0.092 275.1)
XYZxyz(29.2357, 27.9800, 59.7259)
Luminance0.2798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DCA #CABE81
analogous
#81B2CA #818DCA #9A81CA
triadic
#818DCA #CA818D #8DCA81
tetradic
#818DCA #CA81B2 #CABE81 #81CA9A
square
#818DCA #CA81B2 #CABE81 #81CA9A
split-complementary
#818DCA #CA9A81 #B2CA81
monochromatic
#3E4C93 #5666B8 #818DCA #ACB4DC #D7DBEE

Accessibility & contrast

On white

3.18
#818DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#818DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818DCA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DCA#FFFFFF#000000##000000
##818DCA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#6C99A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #818dca;
/* rgb */ color: rgb(129, 141, 202);
/* oklch */ color: oklch(65.8% 0.092 275.1);
Tailwind
colors: {
  custom: {
    50: '#a8aeda',
    500: '#818dca',
    950: '#000000',
  },
}
SCSS
$custom: #818dca;
$custom-light: #a8aeda;
$custom-dark: #000000;
JSON
{
  "hex": "#818dca",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 202
  },
  "hsl": {
    "h": 230.137,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65787,
    "c": 0.09205,
    "h": 275.1
  },
  "luminance": 0.27981
}

Semantic roles & 50–950 ramp

primary
#818DCA
secondary
#E0DCC7
accent
#9E32B4
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101015
muted
#7F7F83

Preview Lab

Preview with #818DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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