#8A8FBA#8A8FBA

#8A8FBA is a light, moderate blue. Relative luminance 0.286; OKLCH L 66.2% C 0.064 H 279.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8A8FBA
RGBrgb(138, 143, 186)
HSLhsl(234, 26%, 64%)
HSVhsv(234, 26%, 73%)
CMYKcmyk(25.8%, 23.1%, 0%, 27.1%)
CIE-LABlab(60.42, 7.84, -22.98)
CIE-LCHlch(60.42, 24.28, 288.85°)
OKLaboklab(66.17% 0.0104 -0.0632)
OKLCHoklch(66.17% 0.064 279.3)
XYZxyz(29.1643, 28.5927, 50.4272)
Luminance0.2859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FBA #BAB58A
analogous
#8AA7BA #8A8FBA #9D8ABA
triadic
#8A8FBA #BA8A8F #8FBA8A
tetradic
#8A8FBA #BA8AA7 #BAB58A #8ABA9D
square
#8A8FBA #BA8AA7 #BAB58A #8ABA9D
split-complementary
#8A8FBA #BA9D8A #A7BA8A
monochromatic
#4B507F #646AA3 #8A8FBA #B0B4D1 #D7D9E7

Accessibility & contrast

On white

3.13
#8A8FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8A8FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8FBA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FBA#FFFFFF#000000##000000
##8A8FBA1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8393BC
Deuteranopia (green-blind)
#8190B9
Tritanopia (blue-blind)
#7E979E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8fba;
/* rgb */ color: rgb(138, 143, 186);
/* oklch */ color: oklch(66.2% 0.064 279.3);
Tailwind
colors: {
  custom: {
    50: '#adafce',
    500: '#8a8fba',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fba;
$custom-light: #adafce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fba",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 186
  },
  "hsl": {
    "h": 233.75,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.06407,
    "h": 279.3
  },
  "luminance": 0.28593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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