#8A9CDA#8A9CDA

#8A9CDA is a light, moderate blue. Relative luminance 0.342; OKLCH L 70.3% C 0.094 H 271.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8A9CDA
RGBrgb(138, 156, 218)
HSLhsl(227, 52%, 70%)
HSVhsv(227, 37%, 85%)
CMYKcmyk(36.7%, 28.4%, 0%, 14.5%)
CIE-LABlab(65.15, 8.66, -33.58)
CIE-LCHlch(65.15, 34.68, 284.45°)
OKLaboklab(70.26% 0.0023 -0.0935)
OKLCHoklch(70.26% 0.094 271.4)
XYZxyz(35.0208, 34.2407, 71.0799)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CDA #DAC88A
analogous
#8AC4DA #8A9CDA #A08ADA
triadic
#8A9CDA #DA8A9C #9CDA8A
tetradic
#8A9CDA #DA8AC4 #DAC88A #8ADAA0
square
#8A9CDA #DA8AC4 #DAC88A #8ADAA0
split-complementary
#8A9CDA #DAA08A #C4DA8A
monochromatic
#3853B1 #5C75CB #8A9CDA #B8C3E9 #E7EBF7

Accessibility & contrast

On white

2.68
#8A9CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#8A9CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CDA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CDA#FFFFFF#000000##000000
##8A9CDA1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A2DD
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#72A8B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9cda;
/* rgb */ color: rgb(138, 156, 218);
/* oklch */ color: oklch(70.3% 0.094 271.4);
Tailwind
colors: {
  custom: {
    50: '#aeb9e5',
    500: '#8a9cda',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cda;
$custom-light: #aeb9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cda",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 218
  },
  "hsl": {
    "h": 226.5,
    "s": 51.948,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.09351,
    "h": 271.4
  },
  "luminance": 0.34242
}

Semantic roles & 50–950 ramp

primary
#8A9CDA
secondary
#EBE6D5
accent
#9D26BF
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8A9CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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