#8AA2FD#8AA2FD

#8AA2FD is a light, vivid blue. Relative luminance 0.383; OKLCH L 73.2% C 0.135 H 271.5°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8AA2FD
RGBrgb(138, 162, 253)
HSLhsl(227, 97%, 77%)
HSVhsv(227, 45%, 99%)
CMYKcmyk(45.5%, 36%, 0%, 0.8%)
CIE-LABlab(68.27, 14.96, -47.91)
CIE-LCHlch(68.27, 50.19, 287.34°)
OKLaboklab(73.18% 0.0036 -0.1349)
OKLCHoklch(73.18% 0.135 271.5)
XYZxyz(41.1256, 38.3335, 98.1415)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AA2FD #FDE58A
analogous
#8ADCFD #8AA2FD #AC8AFD
triadic
#8AA2FD #FD8AA2 #A2FD8A
tetradic
#8AA2FD #FD8ADC #FDE58A #8AFDAC
square
#8AA2FD #FD8ADC #FDE58A #8AFDAC
split-complementary
#8AA2FD #FDAC8A #DCFD8A
monochromatic
#1242FB #4E72FC #8AA2FD #C6D2FE #E1E7FE

Accessibility & contrast

On white

2.42
#8AA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#8AA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AA2FD
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AA2FD#FFFFFF#000000##000000
##8AA2FD1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#60B5C4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8aa2fd;
/* rgb */ color: rgb(138, 162, 253);
/* oklch */ color: oklch(73.2% 0.135 271.5);
Tailwind
colors: {
  custom: {
    50: '#b1bdfe',
    500: '#8aa2fd',
    950: '#000000',
  },
}
SCSS
$custom: #8aa2fd;
$custom-light: #b1bdfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8aa2fd",
  "rgb": {
    "r": 138,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 227.478,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7318,
    "c": 0.13498,
    "h": 271.5
  },
  "luminance": 0.38336
}

Semantic roles & 50–950 ramp

primary
#8AA2FD
secondary
#F7F0D4
accent
#B600E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8AA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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