#8A9FED#8A9FED

#8A9FED is a light, moderate blue. Relative luminance 0.363; OKLCH L 71.8% C 0.117 H 271.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#8A9FED
RGBrgb(138, 159, 237)
HSLhsl(227, 73%, 74%)
HSVhsv(227, 42%, 93%)
CMYKcmyk(41.8%, 32.9%, 0%, 7.1%)
CIE-LABlab(66.76, 12.15, -41.54)
CIE-LCHlch(66.76, 43.28, 286.30°)
OKLaboklab(71.78% 0.0035 -0.1164)
OKLCHoklch(71.78% 0.117 271.7)
XYZxyz(38.1607, 36.3121, 85.1025)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FED #EDD88A
analogous
#8AD0ED #8A9FED #A68AED
triadic
#8A9FED #ED8A9F #9FED8A
tetradic
#8A9FED #ED8AD0 #EDD88A #8AEDA6
square
#8A9FED #ED8AD0 #EDD88A #8AEDA6
split-complementary
#8A9FED #EDA68A #D0ED8A
monochromatic
#2249DB #5573E5 #8A9FED #BFCBF5 #E4E9FB

Accessibility & contrast

On white

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

On black

8.26
#8A9FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FED
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FED#FFFFFF#000000##000000
##8A9FED1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F0
Deuteranopia (green-blind)
#7B9FEB
Tritanopia (blue-blind)
#69AFBB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9fed;
/* rgb */ color: rgb(138, 159, 237);
/* oklch */ color: oklch(71.8% 0.117 271.7);
Tailwind
colors: {
  custom: {
    50: '#b0bbf3',
    500: '#8a9fed',
    950: '#000000',
  },
}
SCSS
$custom: #8a9fed;
$custom-light: #b0bbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9fed",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 237
  },
  "hsl": {
    "h": 227.273,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.1165,
    "h": 271.7
  },
  "luminance": 0.36314
}

Semantic roles & 50–950 ramp

primary
#8A9FED
secondary
#F3EDD8
accent
#AC10D5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A9FED

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

Preview Lab → · Contrast checker → · Palette generator →

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