#8A8DBA#8A8DBA

#8A8DBA is a light, moderate blue. Relative luminance 0.280; OKLCH L 65.8% C 0.067 H 281.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A8DBA
RGBrgb(138, 141, 186)
HSLhsl(236, 26%, 64%)
HSVhsv(236, 26%, 73%)
CMYKcmyk(25.8%, 24.2%, 0%, 27.1%)
CIE-LABlab(59.89, 8.99, -23.80)
CIE-LCHlch(59.89, 25.44, 290.70°)
OKLaboklab(65.75% 0.0132 -0.0655)
OKLCHoklch(65.75% 0.067 281.4)
XYZxyz(28.8668, 27.9975, 50.3280)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DBA #BAB78A
analogous
#8AA5BA #8A8DBA #9F8ABA
triadic
#8A8DBA #BA8A8D #8DBA8A
tetradic
#8A8DBA #BA8AA5 #BAB78A #8ABA9F
square
#8A8DBA #BA8AA5 #BAB78A #8ABA9F
split-complementary
#8A8DBA #BA9F8A #A5BA8A
monochromatic
#4B4E7F #6467A3 #8A8DBA #B0B3D1 #D7D8E7

Accessibility & contrast

On white

3.18
#8A8DBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#8A8DBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8DBA
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DBA#FFFFFF#000000##000000
##8A8DBA1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8192BC
Deuteranopia (green-blind)
#7F8FB9
Tritanopia (blue-blind)
#7F959C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8a8dba;
/* rgb */ color: rgb(138, 141, 186);
/* oklch */ color: oklch(65.8% 0.067 281.4);
Tailwind
colors: {
  custom: {
    50: '#adaecf',
    500: '#8a8dba',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dba;
$custom-light: #adaecf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dba",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 186
  },
  "hsl": {
    "h": 236.25,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65752,
    "c": 0.06685,
    "h": 281.4
  },
  "luminance": 0.27998
}

Semantic roles & 50–950 ramp

primary
#8A8DBA
secondary
#D8D7C7
accent
#9E41A4
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101013
muted
#7F7F82

Preview Lab

Preview with #8A8DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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