#6A81EF#6A81EF

#6A81EF is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.8% C 0.166 H 272.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6A81EF
RGBrgb(106, 129, 239)
HSLhsl(230, 81%, 68%)
HSVhsv(230, 56%, 94%)
CMYKcmyk(55.6%, 46%, 0%, 6.3%)
CIE-LABlab(57.07, 23.07, -58.12)
CIE-LCHlch(57.07, 62.53, 291.65°)
OKLaboklab(63.85% 0.0059 -0.1657)
OKLCHoklch(63.85% 0.166 272.1)
XYZxyz(29.3690, 24.9945, 84.9214)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A81EF #EFD86A
analogous
#6AC4EF #6A81EF #956AEF
triadic
#6A81EF #EF6A81 #81EF6A
tetradic
#6A81EF #EF6AC4 #EFD86A #6AEF95
square
#6A81EF #EF6AC4 #EFD86A #6AEF95
split-complementary
#6A81EF #EF956A #C4EF6A
monochromatic
#1635C9 #3352E9 #6A81EF #A1B0F5 #D9DEFB

Accessibility & contrast

On white

3.50
#6A81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#6A81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A81EF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A81EF#FFFFFF#000000##000000
##6A81EF1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#3C84ED
Tritanopia (blue-blind)
#1999AC
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6a81ef;
/* rgb */ color: rgb(106, 129, 239);
/* oklch */ color: oklch(63.8% 0.166 272.1);
Tailwind
colors: {
  custom: {
    50: '#9ea5f5',
    500: '#6a81ef',
    950: '#000000',
  },
}
SCSS
$custom: #6a81ef;
$custom-light: #9ea5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a81ef",
  "rgb": {
    "r": 106,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 229.624,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.16579,
    "h": 272.1
  },
  "luminance": 0.24997
}

Semantic roles & 50–950 ramp

primary
#6A81EF
secondary
#EFE8C6
accent
#B809DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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