#8AAFEF#8AAFEF

#8AAFEF is a light, moderate blue. Relative luminance 0.423; OKLCH L 75.2% C 0.101 H 261.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#8AAFEF
RGBrgb(138, 175, 239)
HSLhsl(218, 76%, 74%)
HSVhsv(218, 42%, 94%)
CMYKcmyk(42.3%, 26.8%, 0%, 6.3%)
CIE-LABlab(71.07, 3.66, -35.91)
CIE-LCHlch(71.07, 36.09, 275.82°)
OKLaboklab(75.16% -0.0157 -0.1002)
OKLCHoklch(75.16% 0.101 261.1)
XYZxyz(41.3862, 42.2929, 87.6272)
Luminance0.4229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAFEF #EFCA8A
analogous
#8AE2EF #8AAFEF #988AEF
triadic
#8AAFEF #EF8AAF #AFEF8A
tetradic
#8AAFEF #EF8AE2 #EFCA8A #8AEF98
square
#8AAFEF #EF8AE2 #EFCA8A #8AEF98
split-complementary
#8AAFEF #EF988A #E2EF8A
monochromatic
#1F65E0 #548AE8 #8AAFEF #C0D4F6 #E4EDFB

Accessibility & contrast

On white

2.22
#8AAFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#8AAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAFEF
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAFEF#FFFFFF#000000##000000
##8AAFEF1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B3F2
Deuteranopia (green-blind)
#8DAAEE
Tritanopia (blue-blind)
#66BDC5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #8aafef;
/* rgb */ color: rgb(138, 175, 239);
/* oklch */ color: oklch(75.2% 0.101 261.1);
Tailwind
colors: {
  custom: {
    50: '#b0c6f4',
    500: '#8aafef',
    950: '#000000',
  },
}
SCSS
$custom: #8aafef;
$custom-light: #b0c6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8aafef",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 218.02,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75159,
    "c": 0.1014,
    "h": 261.1
  },
  "luminance": 0.42295
}

Semantic roles & 50–950 ramp

primary
#8AAFEF
secondary
#F3E9D8
accent
#8E0DD8
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#111317
muted
#808285

Preview Lab

Preview with #8AAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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