#6A81EB#6A81EB

#6A81EB is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.160 H 271.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#6A81EB
RGBrgb(106, 129, 235)
HSLhsl(229, 76%, 67%)
HSVhsv(229, 55%, 92%)
CMYKcmyk(54.9%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.84, 21.80, -56.26)
CIE-LCHlch(56.84, 60.33, 291.18°)
OKLaboklab(63.6% 0.0054 -0.1602)
OKLCHoklch(63.6% 0.16 271.9)
XYZxyz(28.7846, 24.7608, 81.8436)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A81EB #EBD46A
analogous
#6AC2EB #6A81EB #946AEB
triadic
#6A81EB #EB6A81 #81EB6A
tetradic
#6A81EB #EB6AC2 #EBD46A #6AEB94
square
#6A81EB #EB6AC2 #EBD46A #6AEB94
split-complementary
#6A81EB #EB946A #C2EB6A
monochromatic
#1A38C1 #3453E4 #6A81EB #A0AFF2 #D6DCF9

Accessibility & contrast

On white

3.53
#6A81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#6A81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A81EB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A81EB#FFFFFF#000000##000000
##6A81EB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#4183E9
Tritanopia (blue-blind)
#2198AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6a81eb;
/* rgb */ color: rgb(106, 129, 235);
/* oklch */ color: oklch(63.6% 0.160 271.9);
Tailwind
colors: {
  custom: {
    50: '#9da5f2',
    500: '#6a81eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a81eb;
$custom-light: #9da5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a81eb",
  "rgb": {
    "r": 106,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 229.302,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63602,
    "c": 0.16031,
    "h": 271.9
  },
  "luminance": 0.24763
}

Semantic roles & 50–950 ramp

primary
#6A81EB
secondary
#EDE6C4
accent
#B40DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6A81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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