#8FA5EF#8FA5EF

#8FA5EF is a light, moderate blue. Relative luminance 0.390; OKLCH L 73.4% C 0.111 H 270.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#8FA5EF
RGBrgb(143, 165, 239)
HSLhsl(226, 75%, 75%)
HSVhsv(226, 40%, 94%)
CMYKcmyk(40.2%, 31%, 0%, 6.3%)
CIE-LABlab(68.74, 10.56, -39.52)
CIE-LCHlch(68.74, 40.91, 284.97°)
OKLaboklab(73.42% 0.0016 -0.1105)
OKLCHoklch(73.42% 0.111 270.8)
XYZxyz(40.3581, 38.9799, 87.0420)
Luminance0.3898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA5EF #EFD98F
analogous
#8FD5EF #8FA5EF #A98FEF
triadic
#8FA5EF #EF8FA5 #A5EF8F
tetradic
#8FA5EF #EF8FD5 #EFD98F #8FEFA9
square
#8FA5EF #EF8FD5 #EFD98F #8FEFA9
split-complementary
#8FA5EF #EFA98F #D5EF8F
monochromatic
#244FE0 #597AE7 #8FA5EF #C5D0F7 #E4E9FB

Accessibility & contrast

On white

2.39
#8FA5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#8FA5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA5EF
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA5EF#FFFFFF#000000##000000
##8FA5EF1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#83A4ED
Tritanopia (blue-blind)
#70B4BF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8fa5ef;
/* rgb */ color: rgb(143, 165, 239);
/* oklch */ color: oklch(73.4% 0.111 270.8);
Tailwind
colors: {
  custom: {
    50: '#b3bff4',
    500: '#8fa5ef',
    950: '#000000',
  },
}
SCSS
$custom: #8fa5ef;
$custom-light: #b3bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa5ef",
  "rgb": {
    "r": 143,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 226.25,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73421,
    "c": 0.11052,
    "h": 270.8
  },
  "luminance": 0.38982
}

Semantic roles & 50–950 ramp

primary
#8FA5EF
secondary
#F3EDD8
accent
#A90ED7
background
#FBFBFE
surface
#F6F7FD
border
#D0D0D5
text
#111217
muted
#808185

Preview Lab

Preview with #8FA5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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