#818ECD#818ECD

#818ECD is a light, moderate blue. Relative luminance 0.284; OKLCH L 66.1% C 0.095 H 274.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#818ECD
RGBrgb(129, 142, 205)
HSLhsl(230, 43%, 65%)
HSVhsv(230, 37%, 80%)
CMYKcmyk(37.1%, 30.7%, 0%, 19.6%)
CIE-LABlab(60.27, 10.72, -33.98)
CIE-LCHlch(60.27, 35.63, 287.51°)
OKLaboklab(66.14% 0.0076 -0.0948)
OKLCHoklch(66.14% 0.095 274.6)
XYZxyz(29.7425, 28.4197, 61.6642)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818ECD #CDC081
analogous
#81B4CD #818ECD #9A81CD
triadic
#818ECD #CD818E #8ECD81
tetradic
#818ECD #CD81B4 #CDC081 #81CD9A
square
#818ECD #CD81B4 #CDC081 #81CD9A
split-complementary
#818ECD #CD9A81 #B4CD81
monochromatic
#3C4C97 #5567BC #818ECD #ADB5DE #D9DDF0

Accessibility & contrast

On white

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

On black

6.68
#818ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818ECD
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818ECD#FFFFFF#000000##000000
##818ECD1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#748ECC
Tritanopia (blue-blind)
#6B9AA4
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #818ecd;
/* rgb */ color: rgb(129, 142, 205);
/* oklch */ color: oklch(66.1% 0.095 274.6);
Tailwind
colors: {
  custom: {
    50: '#a8aedc',
    500: '#818ecd',
    950: '#000000',
  },
}
SCSS
$custom: #818ecd;
$custom-light: #a8aedc;
$custom-dark: #000000;
JSON
{
  "hex": "#818ecd",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 229.737,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66135,
    "c": 0.09508,
    "h": 274.6
  },
  "luminance": 0.28421
}

Semantic roles & 50–950 ramp

primary
#818ECD
secondary
#E2DDC8
accent
#9F2FB6
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #818ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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