#8A8DCF#8A8DCF

#8A8DCF is a light, moderate blue. Relative luminance 0.290; OKLCH L 66.7% C 0.097 H 281.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8A8DCF
RGBrgb(138, 141, 207)
HSLhsl(237, 42%, 68%)
HSVhsv(237, 33%, 81%)
CMYKcmyk(33.3%, 31.9%, 0%, 18.8%)
CIE-LABlab(60.74, 14.36, -34.31)
CIE-LCHlch(60.74, 37.19, 292.72°)
OKLaboklab(66.7% 0.0193 -0.0956)
OKLCHoklch(66.7% 0.097 281.4)
XYZxyz(31.2655, 28.9570, 62.9613)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DCF #CFCC8A
analogous
#8AB0CF #8A8DCF #A98ACF
triadic
#8A8DCF #CF8A8D #8DCF8A
tetradic
#8A8DCF #CF8AB0 #CFCC8A #8ACFA9
square
#8A8DCF #CF8AB0 #CFCC8A #8ACFA9
split-complementary
#8A8DCF #CFA98A #B0CF8A
monochromatic
#41459E #5F63BD #8A8DCF #B5B7E1 #E1E2F3

Accessibility & contrast

On white

3.09
#8A8DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8A8DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DCF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DCF#FFFFFF#000000##000000
##8A8DCF1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#7690CD
Tritanopia (blue-blind)
#7899A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8dcf;
/* rgb */ color: rgb(138, 141, 207);
/* oklch */ color: oklch(66.7% 0.097 281.4);
Tailwind
colors: {
  custom: {
    50: '#aeaede',
    500: '#8a8dcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dcf;
$custom-light: #aeaede;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dcf",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 207
  },
  "hsl": {
    "h": 237.391,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66698,
    "c": 0.09749,
    "h": 281.4
  },
  "luminance": 0.28958
}

Semantic roles & 50–950 ramp

primary
#8A8DCF
secondary
#E5E4D0
accent
#AF31B5
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8DCF

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

Preview Lab → · Contrast checker → · Palette generator →

#8A8DCF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva