#6A8AFE#6A8AFE

#6A8AFE is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.5% C 0.175 H 269.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#6A8AFE
RGBrgb(106, 138, 254)
HSLhsl(227, 99%, 71%)
HSVhsv(227, 58%, 100%)
CMYKcmyk(58.3%, 45.7%, 0%, 0.4%)
CIE-LABlab(60.24, 22.49, -61.31)
CIE-LCHlch(60.24, 65.31, 290.14°)
OKLaboklab(66.55% -0.0013 -0.175)
OKLCHoklch(66.55% 0.175 269.6)
XYZxyz(32.9157, 28.3942, 97.4928)
Luminance0.2840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A8AFE #FEDE6A
analogous
#6AD4FE #6A8AFE #946AFE
triadic
#6A8AFE #FE6A8A #8AFE6A
tetradic
#6A8AFE #FE6AD4 #FEDE6A #6AFE94
square
#6A8AFE #FE6AD4 #FEDE6A #6AFE94
split-complementary
#6A8AFE #FE946A #D4FE6A
monochromatic
#0234EC #2D5AFE #6A8AFE #A7BAFE #E1E7FF

Accessibility & contrast

On white

3.14
#6A8AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#6A8AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6A8AFE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A8AFE#FFFFFF#000000##000000
##6A8AFE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#3C8BFC
Tritanopia (blue-blind)
#00A4B8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #6a8afe;
/* rgb */ color: rgb(106, 138, 254);
/* oklch */ color: oklch(66.5% 0.175 269.6);
Tailwind
colors: {
  custom: {
    50: '#a0abff',
    500: '#6a8afe',
    950: '#000000',
  },
}
SCSS
$custom: #6a8afe;
$custom-light: #a0abff;
$custom-dark: #000000;
JSON
{
  "hex": "#6a8afe",
  "rgb": {
    "r": 106,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 227.027,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66547,
    "c": 0.17498,
    "h": 269.6
  },
  "luminance": 0.28397
}

Semantic roles & 50–950 ramp

primary
#6A8AFE
secondary
#F6EDCE
accent
#B400E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101018
muted
#7F7F86

Preview Lab

Preview with #6A8AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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