#8A9DCF#8A9DCF

#8A9DCF is a light, moderate blue. Relative luminance 0.340; OKLCH L 70.0% C 0.077 H 268.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#8A9DCF
RGBrgb(138, 157, 207)
HSLhsl(223, 42%, 68%)
HSVhsv(223, 33%, 81%)
CMYKcmyk(33.3%, 24.2%, 0%, 18.8%)
CIE-LABlab(64.98, 5.18, -27.74)
CIE-LCHlch(64.98, 28.22, 280.58°)
OKLaboklab(69.98% -0.0023 -0.0768)
OKLCHoklch(69.98% 0.077 268.3)
XYZxyz(33.7974, 34.0209, 63.8053)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DCF #CFBC8A
analogous
#8AC0CF #8A9DCF #998ACF
triadic
#8A9DCF #CF8A9D #9DCF8A
tetradic
#8A9DCF #CF8AC0 #CFBC8A #8ACF99
square
#8A9DCF #CF8AC0 #CFBC8A #8ACF99
split-complementary
#8A9DCF #CF998A #C0CF8A
monochromatic
#415A9E #5F79BD #8A9DCF #B5C1E1 #E1E6F3

Accessibility & contrast

On white

2.69
#8A9DCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#8A9DCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DCF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DCF#FFFFFF#000000##000000
##8A9DCF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1D1
Deuteranopia (green-blind)
#879BCE
Tritanopia (blue-blind)
#76A7AE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9dcf;
/* rgb */ color: rgb(138, 157, 207);
/* oklch */ color: oklch(70.0% 0.077 268.3);
Tailwind
colors: {
  custom: {
    50: '#aeb9dd',
    500: '#8a9dcf',
    950: '#000000',
  },
}
SCSS
$custom: #8a9dcf;
$custom-light: #aeb9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9dcf",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 207
  },
  "hsl": {
    "h": 223.478,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69983,
    "c": 0.07683,
    "h": 268.3
  },
  "luminance": 0.34022
}

Semantic roles & 50–950 ramp

primary
#8A9DCF
secondary
#E5DFD0
accent
#9031B5
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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