#666BD9#666BD9

#666BD9 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.9% C 0.165 H 278.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#666BD9
RGBrgb(102, 107, 217)
HSLhsl(237, 60%, 63%)
HSVhsv(237, 53%, 85%)
CMYKcmyk(53%, 50.7%, 0%, 14.9%)
CIE-LABlab(49.92, 28.62, -57.26)
CIE-LCHlch(49.92, 64.01, 296.55°)
OKLaboklab(57.95% 0.0229 -0.1635)
OKLCHoklch(57.95% 0.165 278)
XYZxyz(23.2576, 18.3485, 67.9483)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BD9 #D9D466
analogous
#66A5D9 #666BD9 #9A66D9
triadic
#666BD9 #D9666B #6BD966
tetradic
#666BD9 #D966A5 #D9D466 #66D99A
square
#666BD9 #D966A5 #D9D466 #66D99A
split-complementary
#666BD9 #D99A66 #A5D966
monochromatic
#272C9D #353CCD #666BD9 #979AE5 #C8CAF1

Accessibility & contrast

On white

4.50
#666BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#666BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BD9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BD9#FFFFFF#000000##000000
##666BD91.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDD
Deuteranopia (green-blind)
#2372D7
Tritanopia (blue-blind)
#328498
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #666bd9;
/* rgb */ color: rgb(102, 107, 217);
/* oklch */ color: oklch(57.9% 0.165 278.0);
Tailwind
colors: {
  custom: {
    50: '#9a95e5',
    500: '#666bd9',
    950: '#000000',
  },
}
SCSS
$custom: #666bd9;
$custom-light: #9a95e5;
$custom-dark: #000000;
JSON
{
  "hex": "#666bd9",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 217
  },
  "hsl": {
    "h": 237.391,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.16506,
    "h": 278
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#666BD9
secondary
#E2E0B8
accent
#C01EC8
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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