#8A8FDB#8A8FDB

#8A8FDB is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.7% C 0.112 H 280.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A8FDB
RGBrgb(138, 143, 219)
HSLhsl(236, 53%, 70%)
HSVhsv(236, 37%, 86%)
CMYKcmyk(37%, 34.7%, 0%, 14.1%)
CIE-LABlab(61.79, 16.41, -39.37)
CIE-LCHlch(61.79, 42.66, 292.63°)
OKLaboklab(67.68% 0.0196 -0.1102)
OKLCHoklch(67.68% 0.112 280.1)
XYZxyz(33.0862, 30.1614, 71.0825)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FDB #DBD68A
analogous
#8AB8DB #8A8FDB #AD8ADB
triadic
#8A8FDB #DB8A8F #8FDB8A
tetradic
#8A8FDB #DB8AB8 #DBD68A #8ADBAD
square
#8A8FDB #DB8AB8 #DBD68A #8ADBAD
split-complementary
#8A8FDB #DBAD8A #B8DB8A
monochromatic
#373FB3 #5B62CD #8A8FDB #B9BCE9 #E8E9F8

Accessibility & contrast

On white

2.99
#8A8FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8A8FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FDB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FDB#FFFFFF#000000##000000
##8A8FDB1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#7292D9
Tritanopia (blue-blind)
#739EAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8fdb;
/* rgb */ color: rgb(138, 143, 219);
/* oklch */ color: oklch(67.7% 0.112 280.1);
Tailwind
colors: {
  custom: {
    50: '#afafe6',
    500: '#8a8fdb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fdb;
$custom-light: #afafe6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fdb",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 236.296,
    "s": 52.941,
    "l": 70
  },
  "oklch": {
    "l": 0.67681,
    "c": 0.11193,
    "h": 280.1
  },
  "luminance": 0.30163
}

Semantic roles & 50–950 ramp

primary
#8A8FDB
secondary
#ECEAD5
accent
#B725C0
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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