#8A9CF0#8A9CF0

#8A9CF0 is a light, vivid blue. Relative luminance 0.355; OKLCH L 71.3% C 0.124 H 273.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8A9CF0
RGBrgb(138, 156, 240)
HSLhsl(229, 77%, 74%)
HSVhsv(229, 43%, 94%)
CMYKcmyk(42.5%, 35%, 0%, 5.9%)
CIE-LABlab(66.11, 14.71, -44.20)
CIE-LCHlch(66.11, 46.58, 288.41°)
OKLaboklab(71.32% 0.0079 -0.1242)
OKLCHoklch(71.32% 0.124 273.7)
XYZxyz(38.0931, 35.4696, 87.2603)
Luminance0.3547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CF0 #F0DE8A
analogous
#8ACFF0 #8A9CF0 #AB8AF0
triadic
#8A9CF0 #F08A9C #9CF08A
tetradic
#8A9CF0 #F08ACF #F0DE8A #8AF0AB
square
#8A9CF0 #F08ACF #F0DE8A #8AF0AB
split-complementary
#8A9CF0 #F0AB8A #CFF08A
monochromatic
#1E40E2 #546EE9 #8A9CF0 #C0CAF7 #E4E8FC

Accessibility & contrast

On white

2.59
#8A9CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#8A9CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CF0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CF0#FFFFFF#000000##000000
##8A9CF01.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA5F3
Deuteranopia (green-blind)
#769DEE
Tritanopia (blue-blind)
#68ADBB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9cf0;
/* rgb */ color: rgb(138, 156, 240);
/* oklch */ color: oklch(71.3% 0.124 273.7);
Tailwind
colors: {
  custom: {
    50: '#b0b9f5',
    500: '#8a9cf0',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cf0;
$custom-light: #b0b9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cf0",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 240
  },
  "hsl": {
    "h": 229.412,
    "s": 77.273,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.12441,
    "h": 273.7
  },
  "luminance": 0.35471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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