#8A9ECF#8A9ECF

#8A9ECF is a light, moderate blue. Relative luminance 0.344; OKLCH L 70.2% C 0.076 H 267.2°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8A9ECF
RGBrgb(138, 158, 207)
HSLhsl(223, 42%, 68%)
HSVhsv(223, 33%, 81%)
CMYKcmyk(33.3%, 23.7%, 0%, 18.8%)
CIE-LABlab(65.25, 4.62, -27.33)
CIE-LCHlch(65.25, 27.72, 279.59°)
OKLaboklab(70.19% -0.0036 -0.0756)
OKLCHoklch(70.19% 0.076 267.2)
XYZxyz(33.9673, 34.3606, 63.8619)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9ECF #CFBB8A
analogous
#8AC0CF #8A9ECF #998ACF
triadic
#8A9ECF #CF8A9E #9ECF8A
tetradic
#8A9ECF #CF8AC0 #CFBB8A #8ACF99
square
#8A9ECF #CF8AC0 #CFBB8A #8ACF99
split-complementary
#8A9ECF #CF998A #C0CF8A
monochromatic
#415C9E #5F7ABD #8A9ECF #B5C2E1 #E1E6F3

Accessibility & contrast

On white

2.67
#8A9ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#8A9ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9ECF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9ECF#FFFFFF#000000##000000
##8A9ECF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA2D1
Deuteranopia (green-blind)
#889CCE
Tritanopia (blue-blind)
#76A8AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9ecf;
/* rgb */ color: rgb(138, 158, 207);
/* oklch */ color: oklch(70.2% 0.076 267.2);
Tailwind
colors: {
  custom: {
    50: '#aebadd',
    500: '#8a9ecf',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ecf;
$custom-light: #aebadd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ecf",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 207
  },
  "hsl": {
    "h": 222.609,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70193,
    "c": 0.07571,
    "h": 267.2
  },
  "luminance": 0.34362
}

Semantic roles & 50–950 ramp

primary
#8A9ECF
secondary
#E5DFD0
accent
#8F31B5
background
#FAFBFD
surface
#F4F6FB
border
#CED0D4
text
#101115
muted
#7F8083

Preview Lab

Preview with #8A9ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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