#8A9BDF#8A9BDF

#8A9BDF is a light, moderate blue. Relative luminance 0.342; OKLCH L 70.3% C 0.102 H 272.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8A9BDF
RGBrgb(138, 155, 223)
HSLhsl(228, 57%, 71%)
HSVhsv(228, 38%, 87%)
CMYKcmyk(38.1%, 30.5%, 0%, 12.5%)
CIE-LABlab(65.10, 10.58, -36.43)
CIE-LCHlch(65.10, 37.93, 286.19°)
OKLaboklab(70.29% 0.005 -0.1017)
OKLCHoklch(70.29% 0.102 272.8)
XYZxyz(35.5179, 34.1721, 74.5222)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9BDF #DFCE8A
analogous
#8AC5DF #8A9BDF #A38ADF
triadic
#8A9BDF #DF8A9B #9BDF8A
tetradic
#8A9BDF #DF8AC5 #DFCE8A #8ADFA3
square
#8A9BDF #DF8AC5 #DFCE8A #8ADFA3
split-complementary
#8A9BDF #DFA38A #C5DF8A
monochromatic
#334EBB #5A72D2 #8A9BDF #BAC4EC #E7EAF8

Accessibility & contrast

On white

2.68
#8A9BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#8A9BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9BDF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9BDF#FFFFFF#000000##000000
##8A9BDF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A2E2
Deuteranopia (green-blind)
#7E9BDD
Tritanopia (blue-blind)
#70A8B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a9bdf;
/* rgb */ color: rgb(138, 155, 223);
/* oklch */ color: oklch(70.3% 0.102 272.8);
Tailwind
colors: {
  custom: {
    50: '#afb8e9',
    500: '#8a9bdf',
    950: '#000000',
  },
}
SCSS
$custom: #8a9bdf;
$custom-light: #afb8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9bdf",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 223
  },
  "hsl": {
    "h": 228,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.1018,
    "h": 272.8
  },
  "luminance": 0.34174
}

Semantic roles & 50–950 ramp

primary
#8A9BDF
secondary
#EEE9D7
accent
#A421C5
background
#FAFBFE
surface
#F5F6FD
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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