#8AA2EC#8AA2EC

#8AA2EC is a light, moderate blue. Relative luminance 0.373; OKLCH L 72.3% C 0.112 H 269.8°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#8AA2EC
RGBrgb(138, 162, 236)
HSLhsl(225, 72%, 73%)
HSVhsv(225, 42%, 93%)
CMYKcmyk(41.5%, 31.4%, 0%, 7.5%)
CIE-LABlab(67.50, 10.16, -39.83)
CIE-LCHlch(67.50, 41.11, 284.30°)
OKLaboklab(72.34% -0.0005 -0.1115)
OKLCHoklch(72.34% 0.112 269.8)
XYZxyz(38.5372, 37.2981, 84.5093)
Luminance0.3730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA2EC #ECD48A
analogous
#8AD3EC #8AA2EC #A38AEC
triadic
#8AA2EC #EC8AA2 #A2EC8A
tetradic
#8AA2EC #EC8AD3 #ECD48A #8AECA3
square
#8AA2EC #EC8AD3 #ECD48A #8AECA3
split-complementary
#8AA2EC #ECA38A #D3EC8A
monochromatic
#2350D8 #5578E3 #8AA2EC #BFCCF5 #E5EAFB

Accessibility & contrast

On white

2.48
#8AA2EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#8AA2EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA2EC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA2EC#FFFFFF#000000##000000
##8AA2EC1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#7FA0EA
Tritanopia (blue-blind)
#69B1BD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8aa2ec;
/* rgb */ color: rgb(138, 162, 236);
/* oklch */ color: oklch(72.3% 0.112 269.8);
Tailwind
colors: {
  custom: {
    50: '#b0bdf2',
    500: '#8aa2ec',
    950: '#000000',
  },
}
SCSS
$custom: #8aa2ec;
$custom-light: #b0bdf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa2ec",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 236
  },
  "hsl": {
    "h": 225.306,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72337,
    "c": 0.1115,
    "h": 269.8
  },
  "luminance": 0.373
}

Semantic roles & 50–950 ramp

primary
#8AA2EC
secondary
#F2ECD9
accent
#A411D4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8AA2EC

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

Preview Lab → · Contrast checker → · Palette generator →

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