#666FEF#666FEF

#666FEF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.2% C 0.190 H 276.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#666FEF
RGBrgb(102, 111, 239)
HSLhsl(236, 81%, 67%)
HSVhsv(236, 57%, 94%)
CMYKcmyk(57.3%, 53.6%, 0%, 6.3%)
CIE-LABlab(52.31, 33.17, -65.78)
CIE-LCHlch(52.31, 73.67, 296.76°)
OKLaboklab(60.19% 0.0201 -0.1885)
OKLCHoklch(60.19% 0.19 276.1)
XYZxyz(26.7389, 20.4237, 84.1778)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FEF #EFE666
analogous
#66B4EF #666FEF #A166EF
triadic
#666FEF #EF666F #6FEF66
tetradic
#666FEF #EF66B4 #EFE666 #66EFA1
square
#666FEF #EF66B4 #EFE666 #66EFA1
split-complementary
#666FEF #EFA166 #B4EF66
monochromatic
#1520C6 #2F3BE9 #666FEF #9DA3F5 #D5D7FB

Accessibility & contrast

On white

4.13
#666FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#666FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FEF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FEF#FFFFFF#000000##000000
##666FEF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B83F3
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#018DA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #666fef;
/* rgb */ color: rgb(102, 111, 239);
/* oklch */ color: oklch(60.2% 0.190 276.1);
Tailwind
colors: {
  custom: {
    50: '#9d98f5',
    500: '#666fef',
    950: '#000000',
  },
}
SCSS
$custom: #666fef;
$custom-light: #9d98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#666fef",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 236.058,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60194,
    "c": 0.18955,
    "h": 276.1
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#666FEF
secondary
#EEEBC2
accent
#CF08DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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