#868DF8#868DF8

#868DF8 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.156 H 278.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#868DF8
RGBrgb(134, 141, 248)
HSLhsl(236, 89%, 75%)
HSVhsv(236, 46%, 97%)
CMYKcmyk(46%, 43.1%, 0%, 2.7%)
CIE-LABlab(62.42, 24.74, -54.45)
CIE-LCHlch(62.42, 59.80, 294.44°)
OKLaboklab(68.55% 0.0233 -0.1542)
OKLCHoklch(68.55% 0.156 278.6)
XYZxyz(36.2945, 30.8935, 92.8394)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#868DF8 #F8F186
analogous
#86C6F8 #868DF8 #B886F8
triadic
#868DF8 #F8868D #8DF886
tetradic
#868DF8 #F886C6 #F8F186 #86F8B8
square
#868DF8 #F886C6 #F8F186 #86F8B8
split-complementary
#868DF8 #F8B886 #C6F886
monochromatic
#1220F1 #4C56F5 #868DF8 #C0C4FB #E2E4FD

Accessibility & contrast

On white

2.93
#868DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#868DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #868DF8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##868DF8#FFFFFF#000000##000000
##868DF81.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFC
Deuteranopia (green-blind)
#5A93F6
Tritanopia (blue-blind)
#5EA3B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #868df8;
/* rgb */ color: rgb(134, 141, 248);
/* oklch */ color: oklch(68.5% 0.156 278.6);
Tailwind
colors: {
  custom: {
    50: '#afaefb',
    500: '#868df8',
    950: '#000000',
  },
}
SCSS
$custom: #868df8;
$custom-light: #afaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#868df8",
  "rgb": {
    "r": 134,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 236.316,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.6855,
    "c": 0.15597,
    "h": 278.6
  },
  "luminance": 0.30895
}

Semantic roles & 50–950 ramp

primary
#868DF8
secondary
#F5F3D6
accent
#D700E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #868DF8

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

Preview Lab → · Contrast checker → · Palette generator →

#868DF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva