#6A81FC#6A81FC

#6A81FC is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.7% C 0.183 H 272.3°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#6A81FC
RGBrgb(106, 129, 252)
HSLhsl(231, 96%, 70%)
HSVhsv(231, 58%, 99%)
CMYKcmyk(57.9%, 48.8%, 0%, 1.2%)
CIE-LABlab(57.84, 27.23, -64.07)
CIE-LCHlch(57.84, 69.62, 293.03°)
OKLaboklab(64.68% 0.0075 -0.1832)
OKLCHoklch(64.68% 0.183 272.3)
XYZxyz(31.3590, 25.7905, 95.4021)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A81FC #FCE56A
analogous
#6ACAFC #6A81FC #9C6AFC
triadic
#6A81FC #FC6A81 #81FC6A
tetradic
#6A81FC #FC6ACA #FCE56A #6AFC9C
square
#6A81FC #FC6ACA #FCE56A #6AFC9C
split-complementary
#6A81FC #FC9C6A #CAFC6A
monochromatic
#0528E7 #2E4EFB #6A81FC #A6B4FD #E1E6FE

Accessibility & contrast

On white

3.41
#6A81FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#6A81FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A81FC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A81FC#FFFFFF#000000##000000
##6A81FC1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a81fc;
/* rgb */ color: rgb(106, 129, 252);
/* oklch */ color: oklch(64.7% 0.183 272.3);
Tailwind
colors: {
  custom: {
    50: '#a0a5fe',
    500: '#6a81fc',
    950: '#000000',
  },
}
SCSS
$custom: #6a81fc;
$custom-light: #a0a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6a81fc",
  "rgb": {
    "r": 106,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 230.548,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.18334,
    "h": 272.3
  },
  "luminance": 0.25793
}

Semantic roles & 50–950 ramp

primary
#6A81FC
secondary
#F5EFCD
accent
#C100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F18
muted
#7F7F86

Preview Lab

Preview with #6A81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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