#8AA5F9#8AA5F9

#8AA5F9 is a light, vivid blue. Relative luminance 0.392; OKLCH L 73.6% C 0.126 H 269.6°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#8AA5F9
RGBrgb(138, 165, 249)
HSLhsl(225, 90%, 76%)
HSVhsv(225, 45%, 98%)
CMYKcmyk(44.6%, 33.7%, 0%, 2.4%)
CIE-LABlab(68.86, 12.11, -44.80)
CIE-LCHlch(68.86, 46.41, 285.12°)
OKLaboklab(73.58% -0.0009 -0.1259)
OKLCHoklch(73.58% 0.126 269.6)
XYZxyz(41.0299, 39.1508, 94.9990)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA5F9 #F9DE8A
analogous
#8ADDF9 #8AA5F9 #A68AF9
triadic
#8AA5F9 #F98AA5 #A5F98A
tetradic
#8AA5F9 #F98ADD #F9DE8A #8AF9A6
square
#8AA5F9 #F98ADD #F9DE8A #8AF9A6
split-complementary
#8AA5F9 #F9A68A #DDF98A
monochromatic
#164BF3 #5078F6 #8AA5F9 #C4D2FC #E2E9FE

Accessibility & contrast

On white

2.38
#8AA5F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#8AA5F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA5F9
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA5F9#FFFFFF#000000##000000
##8AA5F91.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFC
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#62B6C4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8aa5f9;
/* rgb */ color: rgb(138, 165, 249);
/* oklch */ color: oklch(73.6% 0.126 269.6);
Tailwind
colors: {
  custom: {
    50: '#b1bffb',
    500: '#8aa5f9',
    950: '#000000',
  },
}
SCSS
$custom: #8aa5f9;
$custom-light: #b1bffb;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa5f9",
  "rgb": {
    "r": 138,
    "g": 165,
    "b": 249
  },
  "hsl": {
    "h": 225.405,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7358,
    "c": 0.12588,
    "h": 269.6
  },
  "luminance": 0.39153
}

Semantic roles & 50–950 ramp

primary
#8AA5F9
secondary
#F6EED5
accent
#AE00E6
background
#FBFBFF
surface
#F6F7FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8AA5F9

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

Preview Lab → · Contrast checker → · Palette generator →

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