#6679EC#6679EC

#6679EC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.173 H 273.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6679EC
RGBrgb(102, 121, 236)
HSLhsl(231, 78%, 66%)
HSVhsv(231, 57%, 93%)
CMYKcmyk(56.8%, 48.7%, 0%, 7.5%)
CIE-LABlab(54.61, 26.16, -60.40)
CIE-LCHlch(54.61, 65.82, 293.41°)
OKLaboklab(61.86% 0.0098 -0.1726)
OKLCHoklch(61.86% 0.173 273.3)
XYZxyz(27.4522, 22.5536, 82.2473)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6679EC #ECD966
analogous
#66BCEC #6679EC #9666EC
triadic
#6679EC #EC6679 #79EC66
tetradic
#6679EC #EC66BC #ECD966 #66EC96
square
#6679EC #EC66BC #ECD966 #66EC96
split-complementary
#6679EC #EC9666 #BCEC66
monochromatic
#1830C0 #3049E5 #6679EC #9CA9F3 #D3D8FA

Accessibility & contrast

On white

3.81
#6679EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#6679EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6679EC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6679EC#FFFFFF#000000##000000
##6679EC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#297DEA
Tritanopia (blue-blind)
#0793A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #6679ec;
/* rgb */ color: rgb(102, 121, 236);
/* oklch */ color: oklch(61.9% 0.173 273.3);
Tailwind
colors: {
  custom: {
    50: '#9c9ff3',
    500: '#6679ec',
    950: '#000000',
  },
}
SCSS
$custom: #6679ec;
$custom-light: #9c9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6679ec",
  "rgb": {
    "r": 102,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 231.493,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61862,
    "c": 0.17286,
    "h": 273.3
  },
  "luminance": 0.22556
}

Semantic roles & 50–950 ramp

primary
#6679EC
secondary
#EDE7C1
accent
#BD0BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6679EC

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

Preview Lab → · Contrast checker → · Palette generator →

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