#818DCB#818DCB

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

Color values

HEX#818DCB
RGBrgb(129, 141, 203)
HSLhsl(230, 42%, 65%)
HSVhsv(230, 36%, 80%)
CMYKcmyk(36.5%, 30.5%, 0%, 20.4%)
CIE-LABlab(59.91, 10.76, -33.40)
CIE-LCHlch(59.91, 35.09, 287.85°)
OKLaboklab(65.83% 0.0084 -0.0931)
OKLCHoklch(65.83% 0.094 275.1)
XYZxyz(29.3545, 28.0275, 60.3515)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818DCB #CBBF81
analogous
#81B2CB #818DCB #9A81CB
triadic
#818DCB #CB818D #8DCB81
tetradic
#818DCB #CB81B2 #CBBF81 #81CB9A
square
#818DCB #CB81B2 #CBBF81 #81CB9A
split-complementary
#818DCB #CB9A81 #B2CB81
monochromatic
#3D4B94 #5666B9 #818DCB #ACB4DD #D8DBEF

Accessibility & contrast

On white

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

On black

6.61
#818DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818DCB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818DCB#FFFFFF#000000##000000
##818DCB1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#6B99A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #818dcb;
/* rgb */ color: rgb(129, 141, 203);
/* oklch */ color: oklch(65.8% 0.093 275.1);
Tailwind
colors: {
  custom: {
    50: '#a8aedb',
    500: '#818dcb',
    950: '#000000',
  },
}
SCSS
$custom: #818dcb;
$custom-light: #a8aedb;
$custom-dark: #000000;
JSON
{
  "hex": "#818dcb",
  "rgb": {
    "r": 129,
    "g": 141,
    "b": 203
  },
  "hsl": {
    "h": 230.27,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65834,
    "c": 0.0935,
    "h": 275.1
  },
  "luminance": 0.28029
}

Semantic roles & 50–950 ramp

primary
#818DCB
secondary
#E0DCC7
accent
#9F31B5
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #818DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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