#8187CC#8187CC

#8187CC is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.7% C 0.103 H 279.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8187CC
RGBrgb(129, 135, 204)
HSLhsl(235, 42%, 65%)
HSVhsv(235, 37%, 80%)
CMYKcmyk(36.8%, 33.8%, 0%, 20%)
CIE-LABlab(58.37, 14.54, -36.37)
CIE-LCHlch(58.37, 39.17, 291.79°)
OKLaboklab(64.66% 0.0166 -0.1017)
OKLCHoklch(64.66% 0.103 279.3)
XYZxyz(28.6132, 26.3536, 60.6942)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8187CC #CCC681
analogous
#81ACCC #8187CC #A081CC
triadic
#8187CC #CC8187 #87CC81
tetradic
#8187CC #CC81AC #CCC681 #81CCA0
square
#8187CC #CC81AC #CCC681 #81CCA0
split-complementary
#8187CC #CCA081 #ACCC81
monochromatic
#3D4496 #555EBA #8187CC #ADB0DE #D8DAEF

Accessibility & contrast

On white

3.35
#8187CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8187CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8187CC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8187CC#FFFFFF#000000##000000
##8187CC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCF
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#6C94A0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8187cc;
/* rgb */ color: rgb(129, 135, 204);
/* oklch */ color: oklch(64.7% 0.103 279.3);
Tailwind
colors: {
  custom: {
    50: '#a8a9dc',
    500: '#8187cc',
    950: '#000000',
  },
}
SCSS
$custom: #8187cc;
$custom-light: #a8a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8187cc",
  "rgb": {
    "r": 129,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 235.2,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64657,
    "c": 0.10304,
    "h": 279.3
  },
  "luminance": 0.26355
}

Semantic roles & 50–950 ramp

primary
#8187CC
secondary
#E1DFC8
accent
#AB30B5
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8187CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8187CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva