#6678FB#6678FB

#6678FB is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.7% C 0.194 H 273.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6678FB
RGBrgb(102, 120, 251)
HSLhsl(233, 95%, 69%)
HSVhsv(233, 59%, 98%)
CMYKcmyk(59.4%, 52.2%, 0%, 1.6%)
CIE-LABlab(55.30, 31.60, -67.62)
CIE-LCHlch(55.30, 74.64, 295.05°)
OKLaboklab(62.68% 0.012 -0.1938)
OKLCHoklch(62.68% 0.194 273.6)
XYZxyz(29.6028, 23.2204, 94.1701)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6678FB #FBE966
analogous
#66C2FB #6678FB #9F66FB
triadic
#6678FB #FB6678 #78FB66
tetradic
#6678FB #FB66C2 #FBE966 #66FB9F
square
#6678FB #FB66C2 #FBE966 #66FB9F
split-complementary
#6678FB #FB9F66 #C2FB66
monochromatic
#0620E1 #2A43F9 #6678FB #A2ADFD #DDE1FE

Accessibility & contrast

On white

3.72
#6678FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#6678FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6678FB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6678FB#FFFFFF#000000##000000
##6678FB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#278BFF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#0096AE
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6678fb;
/* rgb */ color: rgb(102, 120, 251);
/* oklch */ color: oklch(62.7% 0.194 273.6);
Tailwind
colors: {
  custom: {
    50: '#9e9efd',
    500: '#6678fb',
    950: '#000000',
  },
}
SCSS
$custom: #6678fb;
$custom-light: #9e9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#6678fb",
  "rgb": {
    "r": 102,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 232.752,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.62682,
    "c": 0.19419,
    "h": 273.6
  },
  "luminance": 0.23223
}

Semantic roles & 50–950 ramp

primary
#6678FB
secondary
#F4EFC9
accent
#CA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6678FB

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

Preview Lab → · Contrast checker → · Palette generator →

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