#666EFE#666EFE

#666EFE is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 61.1% C 0.210 H 275.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#666EFE
RGBrgb(102, 110, 254)
HSLhsl(237, 99%, 70%)
HSVhsv(237, 60%, 100%)
CMYKcmyk(59.8%, 56.7%, 0%, 0.4%)
CIE-LABlab(53.09, 38.56, -72.86)
CIE-LCHlch(53.09, 82.43, 297.89°)
OKLaboklab(61.1% 0.0214 -0.2093)
OKLCHoklch(61.1% 0.21 275.8)
XYZxyz(28.9390, 21.1301, 96.3002)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EFE #FEF666
analogous
#66BAFE #666EFE #AA66FE
triadic
#666EFE #FE666E #6EFE66
tetradic
#666EFE #FE66BA #FEF666 #66FEAA
square
#666EFE #FE66BA #FEF666 #66FEAA
split-complementary
#666EFE #FEAA66 #BAFE66
monochromatic
#020EE8 #2934FE #666EFE #A3A8FE #E0E1FF

Accessibility & contrast

On white

4.02
#666EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#666EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EFE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EFE#FFFFFF#000000##000000
##666EFE1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#0090AB
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #666efe;
/* rgb */ color: rgb(102, 110, 254);
/* oklch */ color: oklch(61.1% 0.210 275.8);
Tailwind
colors: {
  custom: {
    50: '#9f97ff',
    500: '#666efe',
    950: '#000000',
  },
}
SCSS
$custom: #666efe;
$custom-light: #9f97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#666efe",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 236.842,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61097,
    "c": 0.2104,
    "h": 275.8
  },
  "luminance": 0.21132
}

Semantic roles & 50–950 ramp

primary
#666EFE
secondary
#F5F3CA
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #666EFE

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

Preview Lab → · Contrast checker → · Palette generator →

#666EFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva