#8A9DF5#8A9DF5

#8A9DF5 is a light, vivid blue. Relative luminance 0.361; OKLCH L 71.8% C 0.130 H 273.5°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8A9DF5
RGBrgb(138, 157, 245)
HSLhsl(229, 84%, 75%)
HSVhsv(229, 44%, 96%)
CMYKcmyk(43.7%, 35.9%, 0%, 3.9%)
CIE-LABlab(66.60, 15.55, -46.17)
CIE-LCHlch(66.60, 48.71, 288.61°)
OKLaboklab(71.78% 0.0078 -0.1299)
OKLCHoklch(71.78% 0.13 273.5)
XYZxyz(39.0146, 36.1077, 91.2822)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DF5 #F5E28A
analogous
#8AD2F5 #8A9DF5 #AD8AF5
triadic
#8A9DF5 #F58A9D #9DF58A
tetradic
#8A9DF5 #F58AD2 #F5E28A #8AF5AD
square
#8A9DF5 #F58AD2 #F5E28A #8AF5AD
split-complementary
#8A9DF5 #F5AD8A #D2F58A
monochromatic
#193FEB #526EF0 #8A9DF5 #C2CCFA #E3E7FD

Accessibility & contrast

On white

2.55
#8A9DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#8A9DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DF5
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DF5#FFFFFF#000000##000000
##8A9DF51.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7F9
Deuteranopia (green-blind)
#749EF3
Tritanopia (blue-blind)
#65AFBD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9df5;
/* rgb */ color: rgb(138, 157, 245);
/* oklch */ color: oklch(71.8% 0.130 273.5);
Tailwind
colors: {
  custom: {
    50: '#b0b9f9',
    500: '#8a9df5',
    950: '#000000',
  },
}
SCSS
$custom: #8a9df5;
$custom-light: #b0b9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9df5",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 229.346,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.13012,
    "h": 273.5
  },
  "luminance": 0.3611
}

Semantic roles & 50–950 ramp

primary
#8A9DF5
secondary
#F5EFD6
accent
#BA05E1
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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