#8A9CF2#8A9CF2

#8A9CF2 is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.4% C 0.127 H 273.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8A9CF2
RGBrgb(138, 156, 242)
HSLhsl(230, 80%, 75%)
HSVhsv(230, 43%, 95%)
CMYKcmyk(43%, 35.5%, 0%, 5.1%)
CIE-LABlab(66.20, 15.27, -45.15)
CIE-LCHlch(66.20, 47.66, 288.69°)
OKLaboklab(71.42% 0.0084 -0.1269)
OKLCHoklch(71.42% 0.127 273.8)
XYZxyz(38.3918, 35.5891, 88.8336)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CF2 #F2E08A
analogous
#8AD0F2 #8A9CF2 #AC8AF2
triadic
#8A9CF2 #F28A9C #9CF28A
tetradic
#8A9CF2 #F28AD0 #F2E08A #8AF2AC
square
#8A9CF2 #F28AD0 #F2E08A #8AF2AC
split-complementary
#8A9CF2 #F2AC8A #D0F28A
monochromatic
#1C3FE6 #536DEC #8A9CF2 #C1CBF8 #E3E8FC

Accessibility & contrast

On white

2.59
#8A9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#8A9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CF2
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CF2#FFFFFF#000000##000000
##8A9CF21.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F5
Deuteranopia (green-blind)
#759DF0
Tritanopia (blue-blind)
#67AEBC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9cf2;
/* rgb */ color: rgb(138, 156, 242);
/* oklch */ color: oklch(71.4% 0.127 273.8);
Tailwind
colors: {
  custom: {
    50: '#b0b9f6',
    500: '#8a9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cf2;
$custom-light: #b0b9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cf2",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 229.615,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.12721,
    "h": 273.8
  },
  "luminance": 0.35591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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