#6676EC#6676EC

#6676EC is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.3% C 0.177 H 274.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6676EC
RGBrgb(102, 118, 236)
HSLhsl(233, 78%, 66%)
HSVhsv(233, 57%, 93%)
CMYKcmyk(56.8%, 50%, 0%, 7.5%)
CIE-LABlab(53.85, 27.97, -61.62)
CIE-LCHlch(53.85, 67.67, 294.42°)
OKLaboklab(61.29% 0.0129 -0.1762)
OKLCHoklch(61.29% 0.177 274.2)
XYZxyz(27.0933, 21.8358, 82.1276)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6676EC #ECDC66
analogous
#66B9EC #6676EC #9966EC
triadic
#6676EC #EC6676 #76EC66
tetradic
#6676EC #EC66B9 #ECDC66 #66EC99
square
#6676EC #EC66B9 #ECDC66 #66EC99
split-complementary
#6676EC #EC9966 #B9EC66
monochromatic
#182CC0 #3045E5 #6676EC #9CA7F3 #D3D7FA

Accessibility & contrast

On white

3.91
#6676EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6676EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6676EC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6676EC#FFFFFF#000000##000000
##6676EC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F0
Deuteranopia (green-blind)
#1F7BEA
Tritanopia (blue-blind)
#0A91A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6676ec;
/* rgb */ color: rgb(102, 118, 236);
/* oklch */ color: oklch(61.3% 0.177 274.2);
Tailwind
colors: {
  custom: {
    50: '#9c9df3',
    500: '#6676ec',
    950: '#000000',
  },
}
SCSS
$custom: #6676ec;
$custom-light: #9c9df3;
$custom-dark: #000000;
JSON
{
  "hex": "#6676ec",
  "rgb": {
    "r": 102,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 232.836,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.17666,
    "h": 274.2
  },
  "luminance": 0.21838
}

Semantic roles & 50–950 ramp

primary
#6676EC
secondary
#EDE8C1
accent
#C10BDA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6676EC

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

Preview Lab → · Contrast checker → · Palette generator →

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