#8A8ECF#8A8ECF

#8A8ECF is a light, moderate blue. Relative luminance 0.293; OKLCH L 66.9% C 0.096 H 280.7°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A8ECF
RGBrgb(138, 142, 207)
HSLhsl(237, 42%, 68%)
HSVhsv(237, 33%, 81%)
CMYKcmyk(33.3%, 31.4%, 0%, 18.8%)
CIE-LABlab(61.00, 13.78, -33.90)
CIE-LCHlch(61.00, 36.59, 292.12°)
OKLaboklab(66.9% 0.0179 -0.0944)
OKLCHoklch(66.9% 0.096 280.7)
XYZxyz(31.4136, 29.2533, 63.0107)
Luminance0.2925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8ECF #CFCB8A
analogous
#8AB0CF #8A8ECF #A98ACF
triadic
#8A8ECF #CF8A8E #8ECF8A
tetradic
#8A8ECF #CF8AB0 #CFCB8A #8ACFA9
square
#8A8ECF #CF8AB0 #CFCB8A #8ACFA9
split-complementary
#8A8ECF #CFA98A #B0CF8A
monochromatic
#41469E #5F64BD #8A8ECF #B5B8E1 #E1E2F3

Accessibility & contrast

On white

3.07
#8A8ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8A8ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8ECF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8ECF#FFFFFF#000000##000000
##8A8ECF1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#7791CD
Tritanopia (blue-blind)
#789AA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8ecf;
/* rgb */ color: rgb(138, 142, 207);
/* oklch */ color: oklch(66.9% 0.096 280.7);
Tailwind
colors: {
  custom: {
    50: '#aeafde',
    500: '#8a8ecf',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ecf;
$custom-light: #aeafde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ecf",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 236.522,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66899,
    "c": 0.09609,
    "h": 280.7
  },
  "luminance": 0.29254
}

Semantic roles & 50–950 ramp

primary
#8A8ECF
secondary
#E5E4D0
accent
#AD31B5
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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