#818FC0#818FC0

#818FC0 is a light, moderate blue. Relative luminance 0.281; OKLCH L 65.7% C 0.075 H 271.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#818FC0
RGBrgb(129, 143, 192)
HSLhsl(227, 33%, 63%)
HSVhsv(227, 33%, 75%)
CMYKcmyk(32.8%, 25.5%, 0%, 24.7%)
CIE-LABlab(59.99, 6.66, -27.08)
CIE-LCHlch(59.99, 27.89, 283.81°)
OKLaboklab(65.75% 0.0025 -0.075)
OKLCHoklch(65.75% 0.075 271.9)
XYZxyz(28.3874, 28.1168, 53.7903)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818FC0 #C0B281
analogous
#81AEC0 #818FC0 #9281C0
triadic
#818FC0 #C0818F #8FC081
tetradic
#818FC0 #C081AE #C0B281 #81C092
square
#818FC0 #C081AE #C0B281 #81C092
split-complementary
#818FC0 #C09281 #AEC081
monochromatic
#425184 #586BAC #818FC0 #AAB3D4 #D3D8E9

Accessibility & contrast

On white

3.17
#818FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#818FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818FC0
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818FC0#FFFFFF#000000##000000
##818FC01.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C2
Deuteranopia (green-blind)
#7B8EBF
Tritanopia (blue-blind)
#6F98A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #818fc0;
/* rgb */ color: rgb(129, 143, 192);
/* oklch */ color: oklch(65.7% 0.075 271.9);
Tailwind
colors: {
  custom: {
    50: '#a7afd3',
    500: '#818fc0',
    950: '#000000',
  },
}
SCSS
$custom: #818fc0;
$custom-light: #a7afd3;
$custom-dark: #000000;
JSON
{
  "hex": "#818fc0",
  "rgb": {
    "r": 129,
    "g": 143,
    "b": 192
  },
  "hsl": {
    "h": 226.667,
    "s": 33.333,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65746,
    "c": 0.07504,
    "h": 271.9
  },
  "luminance": 0.28118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #818FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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