#8CA5EF#8CA5EF

#8CA5EF is a light, moderate blue. Relative luminance 0.387; OKLCH L 73.2% C 0.111 H 269.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#8CA5EF
RGBrgb(140, 165, 239)
HSLhsl(225, 76%, 74%)
HSVhsv(225, 41%, 94%)
CMYKcmyk(41.4%, 31%, 0%, 6.3%)
CIE-LABlab(68.54, 9.79, -39.83)
CIE-LCHlch(68.54, 41.02, 283.81°)
OKLaboklab(73.22% -0.0014 -0.1115)
OKLCHoklch(73.22% 0.111 269.3)
XYZxyz(39.8455, 38.7157, 87.0180)
Luminance0.3872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA5EF #EFD68C
analogous
#8CD7EF #8CA5EF #A58CEF
triadic
#8CA5EF #EF8CA5 #A5EF8C
tetradic
#8CA5EF #EF8CD7 #EFD68C #8CEFA5
square
#8CA5EF #EF8CD7 #EFD68C #8CEFA5
split-complementary
#8CA5EF #EFA58C #D7EF8C
monochromatic
#2151E0 #567BE8 #8CA5EF #C2CFF6 #E4EAFB

Accessibility & contrast

On white

2.40
#8CA5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#8CA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA5EF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA5EF#FFFFFF#000000##000000
##8CA5EF1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#82A3ED
Tritanopia (blue-blind)
#6BB4BF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8ca5ef;
/* rgb */ color: rgb(140, 165, 239);
/* oklch */ color: oklch(73.2% 0.111 269.3);
Tailwind
colors: {
  custom: {
    50: '#b1bff4',
    500: '#8ca5ef',
    950: '#000000',
  },
}
SCSS
$custom: #8ca5ef;
$custom-light: #b1bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca5ef",
  "rgb": {
    "r": 140,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 224.848,
    "s": 75.573,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73223,
    "c": 0.11147,
    "h": 269.3
  },
  "luminance": 0.38718
}

Semantic roles & 50–950 ramp

primary
#8CA5EF
secondary
#F3ECD8
accent
#A50ED8
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8CA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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