#666DE2#666DE2

#666DE2 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.9% C 0.175 H 277.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#666DE2
RGBrgb(102, 109, 226)
HSLhsl(237, 68%, 64%)
HSVhsv(237, 55%, 89%)
CMYKcmyk(54.9%, 51.8%, 0%, 11.4%)
CIE-LABlab(50.98, 30.24, -60.64)
CIE-LCHlch(50.98, 67.76, 296.51°)
OKLaboklab(58.93% 0.0214 -0.1734)
OKLCHoklch(58.93% 0.175 277)
XYZxyz(24.6712, 19.2514, 74.3526)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DE2 #E2DB66
analogous
#66ABE2 #666DE2 #9D66E2
triadic
#666DE2 #E2666D #6DE266
tetradic
#666DE2 #E266AB #E2DB66 #66E29D
square
#666DE2 #E266AB #E2DB66 #66E29D
split-complementary
#666DE2 #E29D66 #ABE266
monochromatic
#2129AD #333CD8 #666DE2 #999EEC #CDCFF6

Accessibility & contrast

On white

4.33
#666DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#666DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DE2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DE2#FFFFFF#000000##000000
##666DE21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7FE6
Deuteranopia (green-blind)
#1474E0
Tritanopia (blue-blind)
#26879D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #666de2;
/* rgb */ color: rgb(102, 109, 226);
/* oklch */ color: oklch(58.9% 0.175 277.0);
Tailwind
colors: {
  custom: {
    50: '#9b96ec',
    500: '#666de2',
    950: '#000000',
  },
}
SCSS
$custom: #666de2;
$custom-light: #9b96ec;
$custom-dark: #000000;
JSON
{
  "hex": "#666de2",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 226
  },
  "hsl": {
    "h": 236.613,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.17469,
    "h": 277
  },
  "luminance": 0.19253
}

Semantic roles & 50–950 ramp

primary
#666DE2
secondary
#E7E5BC
accent
#C615D0
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84

Preview Lab

Preview with #666DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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