#8A9DF2#8A9DF2

#8A9DF2 is a light, vivid blue. Relative luminance 0.359; OKLCH L 71.6% C 0.126 H 273.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A9DF2
RGBrgb(138, 157, 242)
HSLhsl(229, 80%, 75%)
HSVhsv(229, 43%, 95%)
CMYKcmyk(43%, 35.1%, 0%, 5.1%)
CIE-LABlab(66.46, 14.70, -44.74)
CIE-LCHlch(66.46, 47.10, 288.19°)
OKLaboklab(71.62% 0.0072 -0.1257)
OKLCHoklch(71.62% 0.126 273.3)
XYZxyz(38.5603, 35.9260, 88.8898)
Luminance0.3593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DF2 #F2DF8A
analogous
#8AD1F2 #8A9DF2 #AB8AF2
triadic
#8A9DF2 #F28A9D #9DF28A
tetradic
#8A9DF2 #F28AD1 #F2DF8A #8AF2AB
square
#8A9DF2 #F28AD1 #F2DF8A #8AF2AB
split-complementary
#8A9DF2 #F2AB8A #D1F28A
monochromatic
#1C41E6 #536FEC #8A9DF2 #C1CBF8 #E3E8FC

Accessibility & contrast

On white

2.57
#8A9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#8A9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DF2
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DF2#FFFFFF#000000##000000
##8A9DF21.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F5
Deuteranopia (green-blind)
#769EF0
Tritanopia (blue-blind)
#67AEBC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9df2;
/* rgb */ color: rgb(138, 157, 242);
/* oklch */ color: oklch(71.6% 0.126 273.3);
Tailwind
colors: {
  custom: {
    50: '#b0b9f6',
    500: '#8a9df2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9df2;
$custom-light: #b0b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9df2",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 229.038,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.12594,
    "h": 273.3
  },
  "luminance": 0.35928
}

Semantic roles & 50–950 ramp

primary
#8A9DF2
secondary
#F4EFD7
accent
#B609DC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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