#8CA2FE#8CA2FE

#8CA2FE is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.4% C 0.136 H 272.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#8CA2FE
RGBrgb(140, 162, 254)
HSLhsl(228, 98%, 77%)
HSVhsv(228, 45%, 100%)
CMYKcmyk(44.9%, 36.2%, 0%, 0.4%)
CIE-LABlab(68.44, 15.73, -48.17)
CIE-LCHlch(68.44, 50.67, 288.08°)
OKLaboklab(73.36% 0.0058 -0.1356)
OKLCHoklch(73.36% 0.136 272.5)
XYZxyz(41.6194, 38.5696, 98.9984)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA2FE #FEE88C
analogous
#8CDBFE #8CA2FE #AF8CFE
triadic
#8CA2FE #FE8CA2 #A2FE8C
tetradic
#8CA2FE #FE8CDB #FEE88C #8CFEAF
square
#8CA2FE #FE8CDB #FEE88C #8CFEAF
split-complementary
#8CA2FE #FEAF8C #DBFE8C
monochromatic
#1340FD #4F71FD #8CA2FE #C9D3FF #E1E6FF

Accessibility & contrast

On white

2.41
#8CA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#8CA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA2FE
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA2FE#FFFFFF#000000##000000
##8CA2FE1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#76A2FC
Tritanopia (blue-blind)
#63B5C4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ca2fe;
/* rgb */ color: rgb(140, 162, 254);
/* oklch */ color: oklch(73.4% 0.136 272.5);
Tailwind
colors: {
  custom: {
    50: '#b2bdff',
    500: '#8ca2fe',
    950: '#000000',
  },
}
SCSS
$custom: #8ca2fe;
$custom-light: #b2bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca2fe",
  "rgb": {
    "r": 140,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 228.421,
    "s": 98.276,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73361,
    "c": 0.13578,
    "h": 272.5
  },
  "luminance": 0.38572
}

Semantic roles & 50–950 ramp

primary
#8CA2FE
secondary
#F7F0D4
accent
#B900E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111218
muted
#808186

Preview Lab

Preview with #8CA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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