#6668EA#6668EA

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

Color values

HEX#6668EA
RGBrgb(102, 104, 234)
HSLhsl(239, 76%, 66%)
HSVhsv(239, 56%, 92%)
CMYKcmyk(56.4%, 55.6%, 0%, 8.2%)
CIE-LABlab(50.29, 35.79, -66.25)
CIE-LCHlch(50.29, 75.30, 298.38°)
OKLaboklab(58.58% 0.0268 -0.1899)
OKLCHoklch(58.58% 0.192 278)
XYZxyz(25.2764, 18.6642, 80.0965)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6668EA #EAE866
analogous
#66AAEA #6668EA #A666EA
triadic
#6668EA #EA6668 #68EA66
tetradic
#6668EA #EA66AA #EAE866 #66EAA6
square
#6668EA #EA66AA #EAE866 #66EAA6
split-complementary
#6668EA #EAA666 #AAEA66
monochromatic
#1A1CBC #3033E3 #6668EA #9C9DF1 #D2D2F9

Accessibility & contrast

On white

4.44
#6668EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#6668EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6668EA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6668EA#FFFFFF#000000##000000
##6668EA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#18869F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6668ea;
/* rgb */ color: rgb(102, 104, 234);
/* oklch */ color: oklch(58.6% 0.192 278.0);
Tailwind
colors: {
  custom: {
    50: '#9c93f2',
    500: '#6668ea',
    950: '#000000',
  },
}
SCSS
$custom: #6668ea;
$custom-light: #9c93f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6668ea",
  "rgb": {
    "r": 102,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 239.091,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.1918,
    "h": 278
  },
  "luminance": 0.18666
}

Semantic roles & 50–950 ramp

primary
#6668EA
secondary
#ECEBC0
accent
#D50DD8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6668EA

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

Preview Lab → · Contrast checker → · Palette generator →

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