#8A8FDC#8A8FDC

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

Color values

HEX#8A8FDC
RGBrgb(138, 143, 220)
HSLhsl(236, 54%, 70%)
HSVhsv(236, 37%, 86%)
CMYKcmyk(37.3%, 35%, 0%, 13.7%)
CIE-LABlab(61.84, 16.68, -39.86)
CIE-LCHlch(61.84, 43.21, 292.71°)
OKLaboklab(67.73% 0.0198 -0.1116)
OKLCHoklch(67.73% 0.113 280.1)
XYZxyz(33.2183, 30.2143, 71.7780)
Luminance0.3022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FDC #DCD78A
analogous
#8AB8DC #8A8FDC #AE8ADC
triadic
#8A8FDC #DC8A8F #8FDC8A
tetradic
#8A8FDC #DC8AB8 #DCD78A #8ADCAE
square
#8A8FDC #DC8AB8 #DCD78A #8ADCAE
split-complementary
#8A8FDC #DCAE8A #B8DC8A
monochromatic
#363EB5 #5B62CE #8A8FDC #B9BCEA #E7E8F8

Accessibility & contrast

On white

2.98
#8A8FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#8A8FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FDC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FDC#FFFFFF#000000##000000
##8A8FDC1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DF
Deuteranopia (green-blind)
#7193DA
Tritanopia (blue-blind)
#739EAB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8fdc;
/* rgb */ color: rgb(138, 143, 220);
/* oklch */ color: oklch(67.7% 0.113 280.1);
Tailwind
colors: {
  custom: {
    50: '#afafe7',
    500: '#8a8fdc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fdc;
$custom-light: #afafe7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fdc",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 220
  },
  "hsl": {
    "h": 236.341,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67731,
    "c": 0.11334,
    "h": 280.1
  },
  "luminance": 0.30216
}

Semantic roles & 50–950 ramp

primary
#8A8FDC
secondary
#ECEBD6
accent
#B824C1
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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