#8AA2F8#8AA2F8

#8AA2F8 is a light, vivid blue. Relative luminance 0.380; OKLCH L 72.9% C 0.128 H 271.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#8AA2F8
RGBrgb(138, 162, 248)
HSLhsl(227, 89%, 76%)
HSVhsv(227, 44%, 97%)
CMYKcmyk(44.4%, 34.7%, 0%, 2.7%)
CIE-LABlab(68.03, 13.53, -45.55)
CIE-LCHlch(68.03, 47.52, 286.55°)
OKLaboklab(72.93% 0.0025 -0.1281)
OKLCHoklch(72.93% 0.128 271.1)
XYZxyz(40.3395, 38.0190, 94.0016)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA2F8 #F8E08A
analogous
#8AD9F8 #8AA2F8 #A98AF8
triadic
#8AA2F8 #F88AA2 #A2F88A
tetradic
#8AA2F8 #F88AD9 #F8E08A #8AF8A9
square
#8AA2F8 #F88AD9 #F8E08A #8AF8A9
split-complementary
#8AA2F8 #F8A98A #D9F88A
monochromatic
#1746F1 #5074F5 #8AA2F8 #C4D0FB #E2E8FD

Accessibility & contrast

On white

2.44
#8AA2F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#8AA2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA2F8
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA2F8#FFFFFF#000000##000000
##8AA2F81.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFC
Deuteranopia (green-blind)
#79A1F6
Tritanopia (blue-blind)
#63B4C1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8aa2f8;
/* rgb */ color: rgb(138, 162, 248);
/* oklch */ color: oklch(72.9% 0.128 271.1);
Tailwind
colors: {
  custom: {
    50: '#b1bdfb',
    500: '#8aa2f8',
    950: '#000000',
  },
}
SCSS
$custom: #8aa2f8;
$custom-light: #b1bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa2f8",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 248
  },
  "hsl": {
    "h": 226.909,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72926,
    "c": 0.12809,
    "h": 271.1
  },
  "luminance": 0.38021
}

Semantic roles & 50–950 ramp

primary
#8AA2F8
secondary
#F5EED6
accent
#B300E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111217
muted
#808185

Preview Lab

Preview with #8AA2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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