#6C81FC#6C81FC

#6C81FC is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.8% C 0.183 H 273.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6C81FC
RGBrgb(108, 129, 252)
HSLhsl(231, 96%, 71%)
HSVhsv(231, 57%, 99%)
CMYKcmyk(57.1%, 48.8%, 0%, 1.2%)
CIE-LABlab(57.96, 27.60, -63.88)
CIE-LCHlch(57.96, 69.59, 293.37°)
OKLaboklab(64.8% 0.0095 -0.1826)
OKLCHoklch(64.8% 0.183 273)
XYZxyz(31.5995, 25.9145, 95.4134)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C81FC #FCE76C
analogous
#6CC9FC #6C81FC #9F6CFC
triadic
#6C81FC #FC6C81 #81FC6C
tetradic
#6C81FC #FC6CC9 #FCE76C #6CFC9F
square
#6C81FC #FC6CC9 #FCE76C #6CFC9F
split-complementary
#6C81FC #FC9F6C #C9FC6C
monochromatic
#0526E9 #304EFB #6C81FC #A8B4FD #E1E5FE

Accessibility & contrast

On white

3.40
#6C81FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#6C81FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C81FC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C81FC#FFFFFF#000000##000000
##6C81FC1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#2985F9
Tritanopia (blue-blind)
#009DB3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6c81fc;
/* rgb */ color: rgb(108, 129, 252);
/* oklch */ color: oklch(64.8% 0.183 273.0);
Tailwind
colors: {
  custom: {
    50: '#a1a5fe',
    500: '#6c81fc',
    950: '#000000',
  },
}
SCSS
$custom: #6c81fc;
$custom-light: #a1a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c81fc",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 231.25,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64801,
    "c": 0.18282,
    "h": 273
  },
  "luminance": 0.25917
}

Semantic roles & 50–950 ramp

primary
#6C81FC
secondary
#F5F0CE
accent
#C400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6C81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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