#6A81FB#6A81FB

#6A81FB is a light, vivid blue. Relative luminance 0.257; OKLCH L 64.6% C 0.182 H 272.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6A81FB
RGBrgb(106, 129, 251)
HSLhsl(230, 95%, 70%)
HSVhsv(230, 58%, 98%)
CMYKcmyk(57.8%, 48.6%, 0%, 1.6%)
CIE-LABlab(57.78, 26.91, -63.62)
CIE-LCHlch(57.78, 69.08, 292.93°)
OKLaboklab(64.61% 0.0074 -0.1819)
OKLCHoklch(64.61% 0.182 272.3)
XYZxyz(31.2010, 25.7273, 94.5698)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A81FB #FBE46A
analogous
#6AC9FB #6A81FB #9C6AFB
triadic
#6A81FB #FB6A81 #81FB6A
tetradic
#6A81FB #FB6AC9 #FBE46A #6AFB9C
square
#6A81FB #FB6AC9 #FBE46A #6AFB9C
split-complementary
#6A81FB #FB9C6A #C9FB6A
monochromatic
#0629E4 #2E4FF9 #6A81FB #A6B3FD #E1E6FE

Accessibility & contrast

On white

3.42
#6A81FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#6A81FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A81FB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A81FB#FFFFFF#000000##000000
##6A81FB1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FF
Deuteranopia (green-blind)
#2985F8
Tritanopia (blue-blind)
#009DB2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #6a81fb;
/* rgb */ color: rgb(106, 129, 251);
/* oklch */ color: oklch(64.6% 0.182 272.3);
Tailwind
colors: {
  custom: {
    50: '#a0a5fd',
    500: '#6a81fb',
    950: '#000000',
  },
}
SCSS
$custom: #6a81fb;
$custom-light: #a0a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a81fb",
  "rgb": {
    "r": 106,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 230.483,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.64615,
    "c": 0.18201,
    "h": 272.3
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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