#8A9DCD#8A9DCD

#8A9DCD is a light, moderate blue. Relative luminance 0.339; OKLCH L 69.9% C 0.074 H 267.7°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#8A9DCD
RGBrgb(138, 157, 205)
HSLhsl(223, 40%, 67%)
HSVhsv(223, 33%, 80%)
CMYKcmyk(32.7%, 23.4%, 0%, 19.6%)
CIE-LABlab(64.90, 4.66, -26.75)
CIE-LCHlch(64.90, 27.16, 279.89°)
OKLaboklab(69.9% -0.0029 -0.074)
OKLCHoklch(69.9% 0.074 267.7)
XYZxyz(33.5545, 33.9237, 62.5257)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DCD #CDBA8A
analogous
#8ABFCD #8A9DCD #998ACD
triadic
#8A9DCD #CD8A9D #9DCD8A
tetradic
#8A9DCD #CD8ABF #CDBA8A #8ACD99
square
#8A9DCD #CD8ABF #CDBA8A #8ACD99
split-complementary
#8A9DCD #CD998A #BFCD8A
monochromatic
#425B9B #5F79BB #8A9DCD #B5C1DF #E0E5F2

Accessibility & contrast

On white

2.70
#8A9DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#8A9DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DCD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DCD#FFFFFF#000000##000000
##8A9DCD1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA1CF
Deuteranopia (green-blind)
#889BCC
Tritanopia (blue-blind)
#77A7AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a9dcd;
/* rgb */ color: rgb(138, 157, 205);
/* oklch */ color: oklch(69.9% 0.074 267.7);
Tailwind
colors: {
  custom: {
    50: '#aeb9dc',
    500: '#8a9dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8a9dcd;
$custom-light: #aeb9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9dcd",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 205
  },
  "hsl": {
    "h": 222.985,
    "s": 40.12,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69898,
    "c": 0.07403,
    "h": 267.7
  },
  "luminance": 0.33925
}

Semantic roles & 50–950 ramp

primary
#8A9DCD
secondary
#E4DECF
accent
#8F32B3
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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