#6B8EFE#6B8EFE

#6B8EFE is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.4% C 0.170 H 268.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#6B8EFE
RGBrgb(107, 142, 254)
HSLhsl(226, 99%, 71%)
HSVhsv(226, 58%, 100%)
CMYKcmyk(57.9%, 44.1%, 0%, 0.4%)
CIE-LABlab(61.33, 20.29, -59.57)
CIE-LCHlch(61.33, 62.93, 288.81°)
OKLaboklab(67.39% -0.0044 -0.1698)
OKLCHoklch(67.39% 0.17 268.5)
XYZxyz(33.6198, 29.6249, 97.6932)
Luminance0.2963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B8EFE #FEDB6B
analogous
#6BD8FE #6B8EFE #916BFE
triadic
#6B8EFE #FE6B8E #8EFE6B
tetradic
#6B8EFE #FE6BD8 #FEDB6B #6BFE91
square
#6B8EFE #FE6BD8 #FEDB6B #6BFE91
split-complementary
#6B8EFE #FE916B #D8FE6B
monochromatic
#023AED #2E60FE #6B8EFE #A8BCFE #E1E8FF

Accessibility & contrast

On white

3.03
#6B8EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#6B8EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B8EFE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B8EFE#FFFFFF#000000##000000
##6B8EFE1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#468EFC
Tritanopia (blue-blind)
#00A7BA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6b8efe;
/* rgb */ color: rgb(107, 142, 254);
/* oklch */ color: oklch(67.4% 0.170 268.5);
Tailwind
colors: {
  custom: {
    50: '#a0aeff',
    500: '#6b8efe',
    950: '#000000',
  },
}
SCSS
$custom: #6b8efe;
$custom-light: #a0aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#6b8efe",
  "rgb": {
    "r": 107,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 225.714,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67391,
    "c": 0.16986,
    "h": 268.5
  },
  "luminance": 0.29628
}

Semantic roles & 50–950 ramp

primary
#6B8EFE
secondary
#F6EDCF
accent
#AF00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #6B8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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