#666DEB#666DEB

#666DEB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.5% C 0.187 H 276.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#666DEB
RGBrgb(102, 109, 235)
HSLhsl(237, 77%, 66%)
HSVhsv(237, 57%, 92%)
CMYKcmyk(56.6%, 53.6%, 0%, 7.8%)
CIE-LABlab(51.56, 33.10, -64.75)
CIE-LCHlch(51.56, 72.72, 297.08°)
OKLaboklab(59.55% 0.0219 -0.1855)
OKLCHoklch(59.55% 0.187 276.7)
XYZxyz(25.9387, 19.7584, 81.0280)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DEB #EBE466
analogous
#66AFEB #666DEB #A166EB
triadic
#666DEB #EB666D #6DEB66
tetradic
#666DEB #EB66AF #EBE466 #66EBA1
square
#666DEB #EB66AF #EBE466 #66EBA1
split-complementary
#666DEB #EBA166 #AFEB66
monochromatic
#1921BE #3039E4 #666DEB #9CA1F2 #D2D4F9

Accessibility & contrast

On white

4.24
#666DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#666DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DEB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DEB#FFFFFF#000000##000000
##666DEB1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81EF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#138AA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666deb;
/* rgb */ color: rgb(102, 109, 235);
/* oklch */ color: oklch(59.5% 0.187 276.7);
Tailwind
colors: {
  custom: {
    50: '#9c96f2',
    500: '#666deb',
    950: '#000000',
  },
}
SCSS
$custom: #666deb;
$custom-light: #9c96f2;
$custom-dark: #000000;
JSON
{
  "hex": "#666deb",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 236.842,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59549,
    "c": 0.18676,
    "h": 276.7
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#666DEB
secondary
#ECEAC1
accent
#CE0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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