#666BF4#666BF4

#666BF4 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.8% C 0.201 H 276.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#666BF4
RGBrgb(102, 107, 244)
HSLhsl(238, 87%, 68%)
HSVhsv(238, 58%, 96%)
CMYKcmyk(58.2%, 56.1%, 0%, 4.3%)
CIE-LABlab(51.69, 37.17, -69.58)
CIE-LCHlch(51.69, 78.88, 298.11°)
OKLaboklab(59.84% 0.024 -0.1997)
OKLCHoklch(59.84% 0.201 276.9)
XYZxyz(27.0611, 19.8698, 87.9797)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BF4 #F4EF66
analogous
#66B2F4 #666BF4 #A866F4
triadic
#666BF4 #F4666B #6BF466
tetradic
#666BF4 #F466B2 #F4EF66 #66F4A8
square
#666BF4 #F466B2 #F4EF66 #66F4A8
split-complementary
#666BF4 #F4A866 #B2F466
monochromatic
#0F16D1 #2D34F0 #666BF4 #9FA2F8 #D8D9FC

Accessibility & contrast

On white

4.22
#666BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#666BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BF4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BF4#FFFFFF#000000##000000
##666BF41.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#008BA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666bf4;
/* rgb */ color: rgb(102, 107, 244);
/* oklch */ color: oklch(59.8% 0.201 276.9);
Tailwind
colors: {
  custom: {
    50: '#9e95f9',
    500: '#666bf4',
    950: '#000000',
  },
}
SCSS
$custom: #666bf4;
$custom-light: #9e95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666bf4",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 237.887,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.20113,
    "h": 276.9
  },
  "luminance": 0.19872
}

Semantic roles & 50–950 ramp

primary
#666BF4
secondary
#F1EFC5
accent
#DB02E3
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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