#6C8EFC#6C8EFC

#6C8EFC is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.3% C 0.167 H 268.7°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6C8EFC
RGBrgb(108, 142, 252)
HSLhsl(226, 96%, 71%)
HSVhsv(226, 57%, 99%)
CMYKcmyk(57.1%, 43.7%, 0%, 1.2%)
CIE-LABlab(61.27, 19.84, -58.56)
CIE-LCHlch(61.27, 61.83, 288.72°)
OKLaboklab(67.33% -0.0038 -0.1668)
OKLCHoklch(67.33% 0.167 268.7)
XYZxyz(33.4221, 29.5598, 96.0210)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C8EFC #FCDA6C
analogous
#6CD6FC #6C8EFC #926CFC
triadic
#6C8EFC #FC6C8E #8EFC6C
tetradic
#6C8EFC #FC6CD6 #FCDA6C #6CFC92
square
#6C8EFC #FC6CD6 #FCDA6C #6CFC92
split-complementary
#6C8EFC #FC926C #D6FC6C
monochromatic
#053BE9 #3060FB #6C8EFC #A8BCFD #E1E8FE

Accessibility & contrast

On white

3.04
#6C8EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#6C8EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C8EFC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C8EFC#FFFFFF#000000##000000
##6C8EFC1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#00A6B9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6c8efc;
/* rgb */ color: rgb(108, 142, 252);
/* oklch */ color: oklch(67.3% 0.167 268.7);
Tailwind
colors: {
  custom: {
    50: '#a0aefe',
    500: '#6c8efc',
    950: '#000000',
  },
}
SCSS
$custom: #6c8efc;
$custom-light: #a0aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c8efc",
  "rgb": {
    "r": 108,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 225.833,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67326,
    "c": 0.16686,
    "h": 268.7
  },
  "luminance": 0.29562
}

Semantic roles & 50–950 ramp

primary
#6C8EFC
secondary
#F5ECCE
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #6C8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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