#666FCF#666FCF

#666FCF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.146 H 276.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#666FCF
RGBrgb(102, 111, 207)
HSLhsl(235, 52%, 61%)
HSVhsv(235, 51%, 81%)
CMYKcmyk(50.7%, 46.4%, 0%, 18.8%)
CIE-LABlab(50.33, 23.04, -50.91)
CIE-LCHlch(50.33, 55.88, 294.35°)
OKLaboklab(58.07% 0.0173 -0.1448)
OKLCHoklch(58.07% 0.146 276.8)
XYZxyz(22.4229, 18.6973, 61.4468)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FCF #CFC666
analogous
#66A3CF #666FCF #9166CF
triadic
#666FCF #CF666F #6FCF66
tetradic
#666FCF #CF66A3 #CFC666 #66CF91
square
#666FCF #CF66A3 #CFC666 #66CF91
split-complementary
#666FCF #CF9166 #A3CF66
monochromatic
#2D358E #3B46BD #666FCF #959BDE #C3C7EC

Accessibility & contrast

On white

4.43
#666FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#666FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FCF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FCF#FFFFFF#000000##000000
##666FCF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#3B74CD
Tritanopia (blue-blind)
#3B8495
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #666fcf;
/* rgb */ color: rgb(102, 111, 207);
/* oklch */ color: oklch(58.1% 0.146 276.8);
Tailwind
colors: {
  custom: {
    50: '#9898de',
    500: '#666fcf',
    950: '#000000',
  },
}
SCSS
$custom: #666fcf;
$custom-light: #9898de;
$custom-dark: #000000;
JSON
{
  "hex": "#666fcf",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 234.857,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.14581,
    "h": 276.8
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#666FCF
secondary
#DCD9B4
accent
#B226C0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #666FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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