#6C7AFE#6C7AFE

#6C7AFE is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.6% C 0.194 H 274.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6C7AFE
RGBrgb(108, 122, 254)
HSLhsl(234, 99%, 71%)
HSVhsv(234, 57%, 100%)
CMYKcmyk(57.5%, 52%, 0%, 0.4%)
CIE-LABlab(56.35, 32.43, -67.57)
CIE-LCHlch(56.35, 74.95, 295.64°)
OKLaboklab(63.63% 0.0166 -0.1935)
OKLCHoklch(63.63% 0.194 274.9)
XYZxyz(31.0275, 24.2607, 96.7945)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C7AFE #FEF06C
analogous
#6CC3FE #6C7AFE #A76CFE
triadic
#6C7AFE #FE6C7A #7AFE6C
tetradic
#6C7AFE #FE6CC3 #FEF06C #6CFEA7
square
#6C7AFE #FE6CC3 #FEF06C #6CFEA7
split-complementary
#6C7AFE #FEA76C #C3FE6C
monochromatic
#0218EE #2F43FE #6C7AFE #A9B1FE #E1E4FF

Accessibility & contrast

On white

3.59
#6C7AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#6C7AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C7AFE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C7AFE#FFFFFF#000000##000000
##6C7AFE1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8EFF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#0098B0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #6c7afe;
/* rgb */ color: rgb(108, 122, 254);
/* oklch */ color: oklch(63.6% 0.194 274.9);
Tailwind
colors: {
  custom: {
    50: '#a1a0ff',
    500: '#6c7afe',
    950: '#000000',
  },
}
SCSS
$custom: #6c7afe;
$custom-light: #a1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6c7afe",
  "rgb": {
    "r": 108,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 234.247,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63628,
    "c": 0.19421,
    "h": 274.9
  },
  "luminance": 0.24263
}

Semantic roles & 50–950 ramp

primary
#6C7AFE
secondary
#F6F3CF
accent
#CF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6C7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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