#6A8EFE#6A8EFE

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

Color values

HEX#6A8EFE
RGBrgb(106, 142, 254)
HSLhsl(225, 99%, 71%)
HSVhsv(225, 58%, 100%)
CMYKcmyk(58.3%, 44.1%, 0%, 0.4%)
CIE-LABlab(61.28, 20.10, -59.66)
CIE-LCHlch(61.28, 62.96, 288.62°)
OKLaboklab(67.33% -0.0053 -0.1701)
OKLCHoklch(67.33% 0.17 268.2)
XYZxyz(33.5002, 29.5632, 97.6876)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8EFE #FEDA6A
analogous
#6AD8FE #6A8EFE #906AFE
triadic
#6A8EFE #FE6A8E #8EFE6A
tetradic
#6A8EFE #FE6AD8 #FEDA6A #6AFE90
square
#6A8EFE #FE6AD8 #FEDA6A #6AFE90
split-complementary
#6A8EFE #FE906A #D8FE6A
monochromatic
#023BEC #2D60FE #6A8EFE #A7BCFE #E1E8FF

Accessibility & contrast

On white

3.04
#6A8EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#6A8EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8EFE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8EFE#FFFFFF#000000##000000
##6A8EFE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a8efe;
/* rgb */ color: rgb(106, 142, 254);
/* oklch */ color: oklch(67.3% 0.170 268.2);
Tailwind
colors: {
  custom: {
    50: '#a0aeff',
    500: '#6a8efe',
    950: '#000000',
  },
}
SCSS
$custom: #6a8efe;
$custom-light: #a0aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8efe",
  "rgb": {
    "r": 106,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 225.405,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67335,
    "c": 0.17016,
    "h": 268.2
  },
  "luminance": 0.29566
}

Semantic roles & 50–950 ramp

primary
#6A8EFE
secondary
#F6ECCE
accent
#AE00E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #6A8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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