#666BFD#666BFD

#666BFD is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.5% C 0.213 H 276.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#666BFD
RGBrgb(102, 107, 253)
HSLhsl(238, 97%, 70%)
HSVhsv(238, 60%, 99%)
CMYKcmyk(59.7%, 57.7%, 0%, 0.8%)
CIE-LABlab(52.32, 40.03, -73.55)
CIE-LCHlch(52.32, 83.74, 298.55°)
OKLaboklab(60.5% 0.024 -0.2114)
OKLCHoklch(60.5% 0.213 276.5)
XYZxyz(28.4611, 20.4298, 95.3530)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BFD #FDF866
analogous
#66B7FD #666BFD #AC66FD
triadic
#666BFD #FD666B #6BFD66
tetradic
#666BFD #FD66B7 #FDF866 #66FDAC
square
#666BFD #FD66B7 #FDF866 #66FDAC
split-complementary
#666BFD #FDAC66 #B7FD66
monochromatic
#030BE6 #2A31FC #666BFD #A2A5FE #DFE0FF

Accessibility & contrast

On white

4.13
#666BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#666BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BFD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BFD#FFFFFF#000000##000000
##666BFD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666bfd;
/* rgb */ color: rgb(102, 107, 253);
/* oklch */ color: oklch(60.5% 0.213 276.5);
Tailwind
colors: {
  custom: {
    50: '#9f95ff',
    500: '#666bfd',
    950: '#000000',
  },
}
SCSS
$custom: #666bfd;
$custom-light: #9f95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#666bfd",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 253
  },
  "hsl": {
    "h": 238.013,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.21275,
    "h": 276.5
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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