#666AFD#666AFD

#666AFD is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.3% C 0.214 H 276.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#666AFD
RGBrgb(102, 106, 253)
HSLhsl(238, 97%, 70%)
HSVhsv(238, 60%, 99%)
CMYKcmyk(59.7%, 58.1%, 0%, 0.8%)
CIE-LABlab(52.09, 40.62, -73.93)
CIE-LCHlch(52.09, 84.36, 298.79°)
OKLaboklab(60.33% 0.0249 -0.2125)
OKLCHoklch(60.33% 0.214 276.7)
XYZxyz(28.3574, 20.2225, 95.3185)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666AFD #FDF966
analogous
#66B5FD #666AFD #AE66FD
triadic
#666AFD #FD666A #6AFD66
tetradic
#666AFD #FD66B5 #FDF966 #66FDAE
square
#666AFD #FD66B5 #FDF966 #66FDAE
split-complementary
#666AFD #FDAE66 #B5FD66
monochromatic
#0309E6 #2A2FFC #666AFD #A2A5FE #DFE0FF

Accessibility & contrast

On white

4.16
#666AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#666AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666AFD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666AFD#FFFFFF#000000##000000
##666AFD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#0076FA
Tritanopia (blue-blind)
#008EA9
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666afd;
/* rgb */ color: rgb(102, 106, 253);
/* oklch */ color: oklch(60.3% 0.214 276.7);
Tailwind
colors: {
  custom: {
    50: '#9f94ff',
    500: '#666afd',
    950: '#000000',
  },
}
SCSS
$custom: #666afd;
$custom-light: #9f94ff;
$custom-dark: #000000;
JSON
{
  "hex": "#666afd",
  "rgb": {
    "r": 102,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 238.411,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.60331,
    "c": 0.21397,
    "h": 276.7
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#666AFD
secondary
#F5F4CA
accent
#DF00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #666AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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