#8AAFEC#8AAFEC

#8AAFEC is a light, moderate blue. Relative luminance 0.421; OKLCH L 75.0% C 0.097 H 260.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#8AAFEC
RGBrgb(138, 175, 236)
HSLhsl(217, 72%, 73%)
HSVhsv(217, 42%, 93%)
CMYKcmyk(41.5%, 25.8%, 0%, 7.5%)
CIE-LABlab(70.95, 2.84, -34.46)
CIE-LCHlch(70.95, 34.58, 274.70°)
OKLaboklab(75.02% -0.0166 -0.096)
OKLCHoklch(75.02% 0.097 260.2)
XYZxyz(40.9467, 42.1171, 85.3124)
Luminance0.4212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAFEC #ECC78A
analogous
#8AE0EC #8AAFEC #968AEC
triadic
#8AAFEC #EC8AAF #AFEC8A
tetradic
#8AAFEC #EC8AE0 #ECC78A #8AEC96
square
#8AAFEC #EC8AE0 #ECC78A #8AEC96
split-complementary
#8AAFEC #EC968A #E0EC8A
monochromatic
#2368D8 #558BE3 #8AAFEC #BFD3F5 #E5EDFB

Accessibility & contrast

On white

2.23
#8AAFEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#8AAFEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAFEC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAFEC#FFFFFF#000000##000000
##8AAFEC1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B3EF
Deuteranopia (green-blind)
#8EA9EB
Tritanopia (blue-blind)
#67BCC4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #8aafec;
/* rgb */ color: rgb(138, 175, 236);
/* oklch */ color: oklch(75.0% 0.097 260.2);
Tailwind
colors: {
  custom: {
    50: '#b0c6f2',
    500: '#8aafec',
    950: '#000000',
  },
}
SCSS
$custom: #8aafec;
$custom-light: #b0c6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8aafec",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 236
  },
  "hsl": {
    "h": 217.347,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75025,
    "c": 0.09745,
    "h": 260.2
  },
  "luminance": 0.42119
}

Semantic roles & 50–950 ramp

primary
#8AAFEC
secondary
#F2E9D9
accent
#8B11D4
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#111317
muted
#808285

Preview Lab

Preview with #8AAFEC

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

Preview Lab → · Contrast checker → · Palette generator →

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