#666BFB#666BFB

#666BFB is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.4% C 0.210 H 276.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#666BFB
RGBrgb(102, 107, 251)
HSLhsl(238, 95%, 69%)
HSVhsv(238, 59%, 98%)
CMYKcmyk(59.4%, 57.4%, 0%, 1.6%)
CIE-LABlab(52.18, 39.39, -72.68)
CIE-LCHlch(52.18, 82.66, 298.46°)
OKLaboklab(60.35% 0.0241 -0.2088)
OKLCHoklch(60.35% 0.21 276.6)
XYZxyz(28.1441, 20.3031, 93.6839)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BFB #FBF666
analogous
#66B5FB #666BFB #AC66FB
triadic
#666BFB #FB666B #6BFB66
tetradic
#666BFB #FB66B5 #FBF666 #66FBAC
square
#666BFB #FB66B5 #FBF666 #66FBAC
split-complementary
#666BFB #FBAC66 #B5FB66
monochromatic
#060DE1 #2A31F9 #666BFB #A2A5FD #DDDEFE

Accessibility & contrast

On white

4.15
#666BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#666BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BFB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BFB#FFFFFF#000000##000000
##666BFB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666bfb;
/* rgb */ color: rgb(102, 107, 251);
/* oklch */ color: oklch(60.4% 0.210 276.6);
Tailwind
colors: {
  custom: {
    50: '#9f95fe',
    500: '#666bfb',
    950: '#000000',
  },
}
SCSS
$custom: #666bfb;
$custom-light: #9f95fe;
$custom-dark: #000000;
JSON
{
  "hex": "#666bfb",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 237.987,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.21019,
    "h": 276.6
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #666BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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