#666BEC#666BEC

#666BEC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.3% C 0.191 H 277.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#666BEC
RGBrgb(102, 107, 236)
HSLhsl(238, 78%, 66%)
HSVhsv(238, 57%, 93%)
CMYKcmyk(56.8%, 54.7%, 0%, 7.5%)
CIE-LABlab(51.15, 34.62, -65.99)
CIE-LCHlch(51.15, 74.52, 297.69°)
OKLaboklab(59.26% 0.0239 -0.1891)
OKLCHoklch(59.26% 0.191 277.2)
XYZxyz(25.8727, 19.3945, 81.7207)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BEC #ECE766
analogous
#66AEEC #666BEC #A466EC
triadic
#666BEC #EC666B #6BEC66
tetradic
#666BEC #EC66AE #ECE766 #66ECA4
square
#666BEC #EC66AE #ECE766 #66ECA4
split-complementary
#666BEC #ECA466 #AEEC66
monochromatic
#181EC0 #3036E5 #666BEC #9CA0F3 #D3D4FA

Accessibility & contrast

On white

4.30
#666BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#666BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BEC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BEC#FFFFFF#000000##000000
##666BEC1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7FF0
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#1189A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666bec;
/* rgb */ color: rgb(102, 107, 236);
/* oklch */ color: oklch(59.3% 0.191 277.2);
Tailwind
colors: {
  custom: {
    50: '#9c95f3',
    500: '#666bec',
    950: '#000000',
  },
}
SCSS
$custom: #666bec;
$custom-light: #9c95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#666bec",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 237.761,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59259,
    "c": 0.19063,
    "h": 277.2
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#666BEC
secondary
#EDEBC1
accent
#D20BDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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