#8A8DF0#8A8DF0

#8A8DF0 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.4% C 0.144 H 280.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8A8DF0
RGBrgb(138, 141, 240)
HSLhsl(238, 77%, 74%)
HSVhsv(238, 43%, 94%)
CMYKcmyk(42.5%, 41.3%, 0%, 5.9%)
CIE-LABlab(62.29, 23.40, -50.23)
CIE-LCHlch(62.29, 55.41, 294.98°)
OKLaboklab(68.39% 0.0264 -0.1418)
OKLCHoklch(68.39% 0.144 280.6)
XYZxyz(35.7296, 30.7427, 86.4725)
Luminance0.3074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DF0 #F0ED8A
analogous
#8AC0F0 #8A8DF0 #BA8AF0
triadic
#8A8DF0 #F08A8D #8DF08A
tetradic
#8A8DF0 #F08AC0 #F0ED8A #8AF0BA
square
#8A8DF0 #F08AC0 #F0ED8A #8AF0BA
split-complementary
#8A8DF0 #F0BA8A #C0F08A
monochromatic
#1E23E2 #5458E9 #8A8DF0 #C0C2F7 #E4E5FC

Accessibility & contrast

On white

2.94
#8A8DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8A8DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DF0
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DF0#FFFFFF#000000##000000
##8A8DF01.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF4
Deuteranopia (green-blind)
#6393EE
Tritanopia (blue-blind)
#6AA1B3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8df0;
/* rgb */ color: rgb(138, 141, 240);
/* oklch */ color: oklch(68.4% 0.144 280.6);
Tailwind
colors: {
  custom: {
    50: '#b0aef5',
    500: '#8a8df0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8df0;
$custom-light: #b0aef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8df0",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 240
  },
  "hsl": {
    "h": 238.235,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.6839,
    "c": 0.14422,
    "h": 280.6
  },
  "luminance": 0.30744
}

Semantic roles & 50–950 ramp

primary
#8A8DF0
secondary
#F3F2D8
accent
#D30CDA
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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