#6668EB#6668EB

#6668EB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.7% C 0.193 H 278.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6668EB
RGBrgb(102, 104, 235)
HSLhsl(239, 77%, 66%)
HSVhsv(239, 57%, 92%)
CMYKcmyk(56.6%, 55.7%, 0%, 7.8%)
CIE-LABlab(50.36, 36.11, -66.70)
CIE-LCHlch(50.36, 75.85, 298.43°)
OKLaboklab(58.65% 0.0268 -0.1912)
OKLCHoklch(58.65% 0.193 278)
XYZxyz(25.4204, 18.7218, 80.8553)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6668EB #EBE966
analogous
#66AAEB #6668EB #A666EB
triadic
#6668EB #EB6668 #68EB66
tetradic
#6668EB #EB66AA #EBE966 #66EBA6
square
#6668EB #EB66AA #EBE966 #66EBA6
split-complementary
#6668EB #EBA666 #AAEB66
monochromatic
#191BBE #3033E4 #6668EB #9C9DF2 #D2D3F9

Accessibility & contrast

On white

4.43
#6668EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#6668EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6668EB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6668EB#FFFFFF#000000##000000
##6668EB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#15879F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6668eb;
/* rgb */ color: rgb(102, 104, 235);
/* oklch */ color: oklch(58.7% 0.193 278.0);
Tailwind
colors: {
  custom: {
    50: '#9c93f2',
    500: '#6668eb',
    950: '#000000',
  },
}
SCSS
$custom: #6668eb;
$custom-light: #9c93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6668eb",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 239.098,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58652,
    "c": 0.19312,
    "h": 278
  },
  "luminance": 0.18724
}

Semantic roles & 50–950 ramp

primary
#6668EB
secondary
#ECECC1
accent
#D60CD9
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6668EB

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

Preview Lab → · Contrast checker → · Palette generator →

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