#8A9EF2#8A9EF2

#8A9EF2 is a light, vivid blue. Relative luminance 0.363; OKLCH L 71.8% C 0.125 H 272.7°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8A9EF2
RGBrgb(138, 158, 242)
HSLhsl(228, 80%, 75%)
HSVhsv(228, 43%, 95%)
CMYKcmyk(43%, 34.7%, 0%, 5.1%)
CIE-LABlab(66.72, 14.12, -44.34)
CIE-LCHlch(66.72, 46.53, 287.67°)
OKLaboklab(71.82% 0.0059 -0.1246)
OKLCHoklch(71.82% 0.125 272.7)
XYZxyz(38.7302, 36.2658, 88.9464)
Luminance0.3627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EF2 #F2DE8A
analogous
#8AD2F2 #8A9EF2 #AA8AF2
triadic
#8A9EF2 #F28A9E #9EF28A
tetradic
#8A9EF2 #F28AD2 #F2DE8A #8AF2AA
square
#8A9EF2 #F28AD2 #F2DE8A #8AF2AA
split-complementary
#8A9EF2 #F2AA8A #D2F28A
monochromatic
#1C43E6 #5370EC #8A9EF2 #C1CCF8 #E3E8FC

Accessibility & contrast

On white

2.54
#8A9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#8A9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EF2
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EF2#FFFFFF#000000##000000
##8A9EF21.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F5
Deuteranopia (green-blind)
#779EF0
Tritanopia (blue-blind)
#66AFBD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9ef2;
/* rgb */ color: rgb(138, 158, 242);
/* oklch */ color: oklch(71.8% 0.125 272.7);
Tailwind
colors: {
  custom: {
    50: '#b0baf6',
    500: '#8a9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ef2;
$custom-light: #b0baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ef2",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 228.462,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71823,
    "c": 0.1247,
    "h": 272.7
  },
  "luminance": 0.36268
}

Semantic roles & 50–950 ramp

primary
#8A9EF2
secondary
#F4EED7
accent
#B409DC
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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