#818BC2#818BC2

#818BC2 is a light, moderate blue. Relative luminance 0.270; OKLCH L 65.0% C 0.083 H 275.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#818BC2
RGBrgb(129, 139, 194)
HSLhsl(231, 35%, 63%)
HSVhsv(231, 34%, 76%)
CMYKcmyk(33.5%, 28.4%, 0%, 23.9%)
CIE-LABlab(59.00, 9.50, -29.75)
CIE-LCHlch(59.00, 31.23, 287.72°)
OKLaboklab(65% 0.0086 -0.0826)
OKLCHoklch(65% 0.083 275.9)
XYZxyz(28.0207, 27.0264, 54.7687)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818BC2 #C2B881
analogous
#81ABC2 #818BC2 #9781C2
triadic
#818BC2 #C2818B #8BC281
tetradic
#818BC2 #C281AB #C2B881 #81C297
square
#818BC2 #C281AB #C2B881 #81C297
split-complementary
#818BC2 #C29781 #ABC281
monochromatic
#414C87 #5865AE #818BC2 #AAB1D6 #D3D7EA

Accessibility & contrast

On white

3.28
#818BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#818BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818BC2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818BC2#FFFFFF#000000##000000
##818BC21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C4
Deuteranopia (green-blind)
#768CC1
Tritanopia (blue-blind)
#6F959E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #818bc2;
/* rgb */ color: rgb(129, 139, 194);
/* oklch */ color: oklch(65.0% 0.083 275.9);
Tailwind
colors: {
  custom: {
    50: '#a7acd4',
    500: '#818bc2',
    950: '#000000',
  },
}
SCSS
$custom: #818bc2;
$custom-light: #a7acd4;
$custom-dark: #000000;
JSON
{
  "hex": "#818bc2",
  "rgb": {
    "r": 129,
    "g": 139,
    "b": 194
  },
  "hsl": {
    "h": 230.769,
    "s": 34.759,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65,
    "c": 0.08307,
    "h": 275.9
  },
  "luminance": 0.27027
}

Semantic roles & 50–950 ramp

primary
#818BC2
secondary
#DBD7C4
accent
#9B38AE
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #818BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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