#6C8AFE#6C8AFE

#6C8AFE is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.7% C 0.174 H 270.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6C8AFE
RGBrgb(108, 138, 254)
HSLhsl(228, 99%, 71%)
HSVhsv(228, 57%, 100%)
CMYKcmyk(57.5%, 45.7%, 0%, 0.4%)
CIE-LABlab(60.35, 22.86, -61.13)
CIE-LCHlch(60.35, 65.27, 290.51°)
OKLaboklab(66.66% 0.0006 -0.1744)
OKLCHoklch(66.66% 0.174 270.2)
XYZxyz(33.1563, 28.5183, 97.5041)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8AFE #FEE06C
analogous
#6CD3FE #6C8AFE #976CFE
triadic
#6C8AFE #FE6C8A #8AFE6C
tetradic
#6C8AFE #FE6CD3 #FEE06C #6CFE97
square
#6C8AFE #FE6CD3 #FEE06C #6CFE97
split-complementary
#6C8AFE #FE976C #D3FE6C
monochromatic
#0232EE #2F5AFE #6C8AFE #A9BAFE #E1E7FF

Accessibility & contrast

On white

3.13
#6C8AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#6C8AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8AFE
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8AFE#FFFFFF#000000##000000
##6C8AFE1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#3E8BFC
Tritanopia (blue-blind)
#00A4B8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #6c8afe;
/* rgb */ color: rgb(108, 138, 254);
/* oklch */ color: oklch(66.7% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#a1abff',
    500: '#6c8afe',
    950: '#000000',
  },
}
SCSS
$custom: #6c8afe;
$custom-light: #a1abff;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8afe",
  "rgb": {
    "r": 108,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 227.671,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66661,
    "c": 0.1744,
    "h": 270.2
  },
  "luminance": 0.28521
}

Semantic roles & 50–950 ramp

primary
#6C8AFE
secondary
#F6EECF
accent
#B600E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #6C8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#6C8AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva