#6682EF#6682EF

#6682EF is a light, vivid blue. Relative luminance 0.250; OKLCH L 63.8% C 0.166 H 270.3°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6682EF
RGBrgb(102, 130, 239)
HSLhsl(228, 81%, 67%)
HSVhsv(228, 57%, 94%)
CMYKcmyk(57.3%, 45.6%, 0%, 6.3%)
CIE-LABlab(57.09, 21.69, -58.09)
CIE-LCHlch(57.09, 62.00, 290.47°)
OKLaboklab(63.81% 0.0009 -0.1657)
OKLCHoklch(63.81% 0.166 270.3)
XYZxyz(29.0369, 25.0198, 84.9438)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6682EF #EFD366
analogous
#66C7EF #6682EF #8F66EF
triadic
#6682EF #EF6682 #82EF66
tetradic
#6682EF #EF66C7 #EFD366 #66EF8F
square
#6682EF #EF66C7 #EFD366 #66EF8F
split-complementary
#6682EF #EF8F66 #C7EF66
monochromatic
#1539C6 #2F55E9 #6682EF #9DAFF5 #D5DDFB

Accessibility & contrast

On white

3.50
#6682EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#6682EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6682EF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6682EF#FFFFFF#000000##000000
##6682EF1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF3
Deuteranopia (green-blind)
#3B83ED
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #6682ef;
/* rgb */ color: rgb(102, 130, 239);
/* oklch */ color: oklch(63.8% 0.166 270.3);
Tailwind
colors: {
  custom: {
    50: '#9ca5f5',
    500: '#6682ef',
    950: '#000000',
  },
}
SCSS
$custom: #6682ef;
$custom-light: #9ca5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6682ef",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 227.737,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63808,
    "c": 0.16567,
    "h": 270.3
  },
  "luminance": 0.25022
}

Semantic roles & 50–950 ramp

primary
#6682EF
secondary
#EEE5C2
accent
#B208DD
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6682EF

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

Preview Lab → · Contrast checker → · Palette generator →

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