#6682EC#6682EC

#6682EC is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.6% C 0.162 H 270.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6682EC
RGBrgb(102, 130, 236)
HSLhsl(227, 78%, 66%)
HSVhsv(227, 57%, 93%)
CMYKcmyk(56.8%, 44.9%, 0%, 7.5%)
CIE-LABlab(56.92, 20.72, -56.70)
CIE-LCHlch(56.92, 60.36, 290.07°)
OKLaboklab(63.62% 0.0005 -0.1616)
OKLCHoklch(63.62% 0.162 270.2)
XYZxyz(28.5974, 24.8440, 82.6290)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6682EC #ECD066
analogous
#66C5EC #6682EC #8D66EC
triadic
#6682EC #EC6682 #82EC66
tetradic
#6682EC #EC66C5 #ECD066 #66EC8D
square
#6682EC #EC66C5 #ECD066 #66EC8D
split-complementary
#6682EC #EC8D66 #C5EC66
monochromatic
#183BC0 #3056E5 #6682EC #9CAEF3 #D3DBFA

Accessibility & contrast

On white

3.52
#6682EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#6682EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6682EC
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6682EC#FFFFFF#000000##000000
##6682EC1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FF0
Deuteranopia (green-blind)
#3F83EA
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6682ec;
/* rgb */ color: rgb(102, 130, 236);
/* oklch */ color: oklch(63.6% 0.162 270.2);
Tailwind
colors: {
  custom: {
    50: '#9ba5f3',
    500: '#6682ec',
    950: '#000000',
  },
}
SCSS
$custom: #6682ec;
$custom-light: #9ba5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6682ec",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 227.463,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63621,
    "c": 0.16159,
    "h": 270.2
  },
  "luminance": 0.24846
}

Semantic roles & 50–950 ramp

primary
#6682EC
secondary
#EDE4C1
accent
#AF0BDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6682EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6682EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva