#666BCF#666BCF

#666BCF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.3% C 0.151 H 278.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#666BCF
RGBrgb(102, 107, 207)
HSLhsl(237, 52%, 61%)
HSVhsv(237, 51%, 81%)
CMYKcmyk(50.7%, 48.3%, 0%, 18.8%)
CIE-LABlab(49.31, 25.49, -52.55)
CIE-LCHlch(49.31, 58.41, 295.87°)
OKLaboklab(57.29% 0.0219 -0.1496)
OKLCHoklch(57.29% 0.151 278.3)
XYZxyz(21.9962, 17.8439, 61.3045)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BCF #CFCA66
analogous
#669FCF #666BCF #9566CF
triadic
#666BCF #CF666B #6BCF66
tetradic
#666BCF #CF669F #CFCA66 #66CF95
square
#666BCF #CF669F #CFCA66 #66CF95
split-complementary
#666BCF #CF9566 #9FCF66
monochromatic
#2D318E #3B41BD #666BCF #9598DE #C3C5EC

Accessibility & contrast

On white

4.60
#666BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#666BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #666BCF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BCF#FFFFFF#000000##FFFFFF
##666BCF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#3B8193
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #666bcf;
/* rgb */ color: rgb(102, 107, 207);
/* oklch */ color: oklch(57.3% 0.151 278.3);
Tailwind
colors: {
  custom: {
    50: '#9895de',
    500: '#666bcf',
    950: '#000000',
  },
}
SCSS
$custom: #666bcf;
$custom-light: #9895de;
$custom-dark: #000000;
JSON
{
  "hex": "#666bcf",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 207
  },
  "hsl": {
    "h": 237.143,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.15121,
    "h": 278.3
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#666BCF
secondary
#DCDAB4
accent
#B826C0
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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