#8AAFE5#8AAFE5

#8AAFE5 is a light, moderate blue. Relative luminance 0.417; OKLCH L 74.7% C 0.088 H 257.7°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#8AAFE5
RGBrgb(138, 175, 229)
HSLhsl(216, 64%, 72%)
HSVhsv(216, 40%, 90%)
CMYKcmyk(39.7%, 23.6%, 0%, 10.2%)
CIE-LABlab(70.68, 0.93, -31.07)
CIE-LCHlch(70.68, 31.09, 271.72°)
OKLaboklab(74.72% -0.0187 -0.0863)
OKLCHoklch(74.72% 0.088 257.7)
XYZxyz(39.9496, 41.7182, 80.0609)
Luminance0.4172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAFE5 #E5C08A
analogous
#8ADDE5 #8AAFE5 #938AE5
triadic
#8AAFE5 #E58AAF #AFE58A
tetradic
#8AAFE5 #E58ADD #E5C08A #8AE593
square
#8AAFE5 #E58ADD #E5C08A #8AE593
split-complementary
#8AAFE5 #E5938A #DDE58A
monochromatic
#2C6CC8 #588DDA #8AAFE5 #BCD1F0 #E6EEF9

Accessibility & contrast

On white

2.25
#8AAFE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#8AAFE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAFE5
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAFE5#FFFFFF#000000##000000
##8AAFE51.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB2E7
Deuteranopia (green-blind)
#91A9E4
Tritanopia (blue-blind)
#6BBBC1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8aafe5;
/* rgb */ color: rgb(138, 175, 229);
/* oklch */ color: oklch(74.7% 0.088 257.7);
Tailwind
colors: {
  custom: {
    50: '#afc6ed',
    500: '#8aafe5',
    950: '#000000',
  },
}
SCSS
$custom: #8aafe5;
$custom-light: #afc6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8aafe5",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 229
  },
  "hsl": {
    "h": 215.604,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74718,
    "c": 0.08833,
    "h": 257.7
  },
  "luminance": 0.4172
}

Semantic roles & 50–950 ramp

primary
#8AAFE5
secondary
#F1E8DA
accent
#831ACB
background
#FBFCFE
surface
#F6F8FD
border
#D0D1D5
text
#111316
muted
#808284

Preview Lab

Preview with #8AAFE5

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

Preview Lab → · Contrast checker → · Palette generator →

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