#666FD3#666FD3

#666FD3 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.151 H 276.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#666FD3
RGBrgb(102, 111, 211)
HSLhsl(235, 55%, 61%)
HSVhsv(235, 52%, 83%)
CMYKcmyk(51.7%, 47.4%, 0%, 17.3%)
CIE-LABlab(50.56, 24.29, -52.82)
CIE-LCHlch(50.56, 58.13, 294.70°)
OKLaboklab(58.32% 0.0178 -0.1504)
OKLCHoklch(58.32% 0.151 276.8)
XYZxyz(22.9181, 18.8954, 64.0549)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FD3 #D3CA66
analogous
#66A6D3 #666FD3 #9466D3
triadic
#666FD3 #D3666F #6FD366
tetradic
#666FD3 #D366A6 #D3CA66 #66D394
square
#666FD3 #D366A6 #D3CA66 #66D394
split-complementary
#666FD3 #D39466 #A6D366
monochromatic
#2B3394 #3844C4 #666FD3 #969CE1 #C5C8EE

Accessibility & contrast

On white

4.39
#666FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#666FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FD3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FD3#FFFFFF#000000##000000
##666FD31.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427DD7
Deuteranopia (green-blind)
#3674D1
Tritanopia (blue-blind)
#378597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666fd3;
/* rgb */ color: rgb(102, 111, 211);
/* oklch */ color: oklch(58.3% 0.151 276.8);
Tailwind
colors: {
  custom: {
    50: '#9998e1',
    500: '#666fd3',
    950: '#000000',
  },
}
SCSS
$custom: #666fd3;
$custom-light: #9998e1;
$custom-dark: #000000;
JSON
{
  "hex": "#666fd3",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 211
  },
  "hsl": {
    "h": 235.046,
    "s": 55.33,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.15141,
    "h": 276.8
  },
  "luminance": 0.18897
}

Semantic roles & 50–950 ramp

primary
#666FD3
secondary
#DFDBB6
accent
#B623C3
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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