#8A9EF0#8A9EF0

#8A9EF0 is a light, vivid blue. Relative luminance 0.361; OKLCH L 71.7% C 0.122 H 272.6°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8A9EF0
RGBrgb(138, 158, 240)
HSLhsl(228, 77%, 74%)
HSVhsv(228, 43%, 94%)
CMYKcmyk(42.5%, 34.2%, 0%, 5.9%)
CIE-LABlab(66.63, 13.56, -43.38)
CIE-LCHlch(66.63, 45.45, 287.36°)
OKLaboklab(71.72% 0.0055 -0.1218)
OKLCHoklch(71.72% 0.122 272.6)
XYZxyz(38.4314, 36.1463, 87.3731)
Luminance0.3615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EF0 #F0DC8A
analogous
#8AD1F0 #8A9EF0 #A98AF0
triadic
#8A9EF0 #F08A9E #9EF08A
tetradic
#8A9EF0 #F08AD1 #F0DC8A #8AF0A9
square
#8A9EF0 #F08AD1 #F0DC8A #8AF0A9
split-complementary
#8A9EF0 #F0A98A #D1F08A
monochromatic
#1E44E2 #5471E9 #8A9EF0 #C0CBF7 #E4E9FC

Accessibility & contrast

On white

2.55
#8A9EF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#8A9EF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EF0
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EF0#FFFFFF#000000##000000
##8A9EF01.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F3
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#68AFBC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9ef0;
/* rgb */ color: rgb(138, 158, 240);
/* oklch */ color: oklch(71.7% 0.122 272.6);
Tailwind
colors: {
  custom: {
    50: '#b0baf5',
    500: '#8a9ef0',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ef0;
$custom-light: #b0baf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ef0",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 240
  },
  "hsl": {
    "h": 228.235,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.12191,
    "h": 272.6
  },
  "luminance": 0.36148
}

Semantic roles & 50–950 ramp

primary
#8A9EF0
secondary
#F3EED8
accent
#B10CDA
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#111117
muted
#808085

Preview Lab

Preview with #8A9EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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