#6679EB#6679EB

#6679EB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.8% C 0.171 H 273.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6679EB
RGBrgb(102, 121, 235)
HSLhsl(231, 77%, 66%)
HSVhsv(231, 57%, 92%)
CMYKcmyk(56.6%, 48.5%, 0%, 7.8%)
CIE-LABlab(54.55, 25.84, -59.94)
CIE-LCHlch(54.55, 65.27, 293.32°)
OKLaboklab(61.8% 0.0097 -0.1712)
OKLCHoklch(61.8% 0.171 273.2)
XYZxyz(27.3074, 22.4957, 81.4843)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6679EB #EBD866
analogous
#66BBEB #6679EB #9566EB
triadic
#6679EB #EB6679 #79EB66
tetradic
#6679EB #EB66BB #EBD866 #66EB95
square
#6679EB #EB66BB #EBD866 #66EB95
split-complementary
#6679EB #EB9566 #BBEB66
monochromatic
#1930BE #304AE4 #6679EB #9CA8F2 #D2D8F9

Accessibility & contrast

On white

3.82
#6679EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6679EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6679EB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6679EB#FFFFFF#000000##000000
##6679EB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4088EF
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#0C93A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6679eb;
/* rgb */ color: rgb(102, 121, 235);
/* oklch */ color: oklch(61.8% 0.171 273.2);
Tailwind
colors: {
  custom: {
    50: '#9c9ff2',
    500: '#6679eb',
    950: '#000000',
  },
}
SCSS
$custom: #6679eb;
$custom-light: #9c9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6679eb",
  "rgb": {
    "r": 102,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 231.429,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61797,
    "c": 0.17149,
    "h": 273.2
  },
  "luminance": 0.22498
}

Semantic roles & 50–950 ramp

primary
#6679EB
secondary
#ECE6C1
accent
#BC0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6679EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6679EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva