#818EC0#818EC0

#818EC0 is a light, moderate blue. Relative luminance 0.278; OKLCH L 65.5% C 0.076 H 272.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#818EC0
RGBrgb(129, 142, 192)
HSLhsl(228, 33%, 63%)
HSVhsv(228, 33%, 75%)
CMYKcmyk(32.8%, 26%, 0%, 24.7%)
CIE-LABlab(59.72, 7.24, -27.50)
CIE-LCHlch(59.72, 28.43, 284.74°)
OKLaboklab(65.54% 0.0039 -0.0762)
OKLCHoklch(65.54% 0.076 272.9)
XYZxyz(28.2380, 27.8179, 53.7405)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818EC0 #C0B381
analogous
#81ADC0 #818EC0 #9381C0
triadic
#818EC0 #C0818E #8EC081
tetradic
#818EC0 #C081AD #C0B381 #81C093
square
#818EC0 #C081AD #C0B381 #81C093
split-complementary
#818EC0 #C09381 #ADC081
monochromatic
#425084 #5869AC #818EC0 #AAB3D4 #D3D7E9

Accessibility & contrast

On white

3.20
#818EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#818EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818EC0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818EC0#FFFFFF#000000##000000
##818EC01.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C2
Deuteranopia (green-blind)
#7A8DBF
Tritanopia (blue-blind)
#70989F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #818ec0;
/* rgb */ color: rgb(129, 142, 192);
/* oklch */ color: oklch(65.5% 0.076 272.9);
Tailwind
colors: {
  custom: {
    50: '#a7aed3',
    500: '#818ec0',
    950: '#000000',
  },
}
SCSS
$custom: #818ec0;
$custom-light: #a7aed3;
$custom-dark: #000000;
JSON
{
  "hex": "#818ec0",
  "rgb": {
    "r": 129,
    "g": 142,
    "b": 192
  },
  "hsl": {
    "h": 227.619,
    "s": 33.333,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65536,
    "c": 0.07629,
    "h": 272.9
  },
  "luminance": 0.27819
}

Semantic roles & 50–950 ramp

primary
#818EC0
secondary
#DAD5C3
accent
#9439AC
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #818EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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