#6678EF#6678EF

#6678EF is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.9% C 0.178 H 273.6°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6678EF
RGBrgb(102, 120, 239)
HSLhsl(232, 81%, 67%)
HSVhsv(232, 57%, 94%)
CMYKcmyk(57.3%, 49.8%, 0%, 6.3%)
CIE-LABlab(54.54, 27.73, -62.19)
CIE-LCHlch(54.54, 68.09, 294.03°)
OKLaboklab(61.87% 0.0111 -0.1778)
OKLCHoklch(61.87% 0.178 273.6)
XYZxyz(27.7709, 22.4876, 84.5217)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6678EF #EFDD66
analogous
#66BDEF #6678EF #9966EF
triadic
#6678EF #EF6678 #78EF66
tetradic
#6678EF #EF66BD #EFDD66 #66EF99
square
#6678EF #EF66BD #EFDD66 #66EF99
split-complementary
#6678EF #EF9966 #BDEF66
monochromatic
#152CC6 #2F47E9 #6678EF #9DA9F5 #D5DAFB

Accessibility & contrast

On white

3.82
#6678EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#6678EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6678EF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6678EF#FFFFFF#000000##000000
##6678EF1.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)
#3989F3
Deuteranopia (green-blind)
#1F7DEC
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6678ef;
/* rgb */ color: rgb(102, 120, 239);
/* oklch */ color: oklch(61.9% 0.178 273.6);
Tailwind
colors: {
  custom: {
    50: '#9c9ef5',
    500: '#6678ef',
    950: '#000000',
  },
}
SCSS
$custom: #6678ef;
$custom-light: #9c9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6678ef",
  "rgb": {
    "r": 102,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 232.117,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61869,
    "c": 0.17818,
    "h": 273.6
  },
  "luminance": 0.2249
}

Semantic roles & 50–950 ramp

primary
#6678EF
secondary
#EEE9C2
accent
#C108DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6678EF

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

Preview Lab → · Contrast checker → · Palette generator →

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