#6C81EB#6C81EB

#6C81EB is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.7% C 0.160 H 272.7°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6C81EB
RGBrgb(108, 129, 235)
HSLhsl(230, 76%, 67%)
HSVhsv(230, 54%, 92%)
CMYKcmyk(54%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.96, 22.21, -56.06)
CIE-LCHlch(56.96, 60.30, 291.61°)
OKLaboklab(63.73% 0.0074 -0.1596)
OKLCHoklch(63.73% 0.16 272.7)
XYZxyz(29.0251, 24.8848, 81.8549)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C81EB #EBD66C
analogous
#6CC0EB #6C81EB #976CEB
triadic
#6C81EB #EB6C81 #81EB6C
tetradic
#6C81EB #EB6CC0 #EBD66C #6CEB97
square
#6C81EB #EB6CC0 #EBD66C #6CEB97
split-complementary
#6C81EB #EB976C #C0EB6C
monochromatic
#1A36C2 #3653E4 #6C81EB #A2AFF2 #D8DDFA

Accessibility & contrast

On white

3.51
#6C81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#6C81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C81EB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C81EB#FFFFFF#000000##000000
##6C81EB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEF
Deuteranopia (green-blind)
#4284E9
Tritanopia (blue-blind)
#2A98AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6c81eb;
/* rgb */ color: rgb(108, 129, 235);
/* oklch */ color: oklch(63.7% 0.160 272.7);
Tailwind
colors: {
  custom: {
    50: '#9ea5f2',
    500: '#6c81eb',
    950: '#000000',
  },
}
SCSS
$custom: #6c81eb;
$custom-light: #9ea5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c81eb",
  "rgb": {
    "r": 108,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 230.079,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63727,
    "c": 0.15976,
    "h": 272.7
  },
  "luminance": 0.24887
}

Semantic roles & 50–950 ramp

primary
#6C81EB
secondary
#EDE7C5
accent
#B70DD8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6C81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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