#666BF3#666BF3

#666BF3 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.8% C 0.200 H 276.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#666BF3
RGBrgb(102, 107, 243)
HSLhsl(238, 85%, 68%)
HSVhsv(238, 58%, 95%)
CMYKcmyk(58%, 56%, 0%, 4.7%)
CIE-LABlab(51.62, 36.85, -69.13)
CIE-LCHlch(51.62, 78.34, 298.06°)
OKLaboklab(59.76% 0.024 -0.1984)
OKLCHoklch(59.76% 0.2 276.9)
XYZxyz(26.9096, 19.8093, 87.1822)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BF3 #F3EE66
analogous
#66B2F3 #666BF3 #A766F3
triadic
#666BF3 #F3666B #6BF366
tetradic
#666BF3 #F366B2 #F3EE66 #66F3A7
square
#666BF3 #F366B2 #F3EE66 #66F3A7
split-complementary
#666BF3 #F3A766 #B2F366
monochromatic
#1017CE #2D34EF #666BF3 #9FA2F7 #D7D9FC

Accessibility & contrast

On white

4.23
#666BF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#666BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BF3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BF3#FFFFFF#000000##000000
##666BF31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #666bf3;
/* rgb */ color: rgb(102, 107, 243);
/* oklch */ color: oklch(59.8% 0.200 276.9);
Tailwind
colors: {
  custom: {
    50: '#9d95f8',
    500: '#666bf3',
    950: '#000000',
  },
}
SCSS
$custom: #666bf3;
$custom-light: #9d95f8;
$custom-dark: #000000;
JSON
{
  "hex": "#666bf3",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 243
  },
  "hsl": {
    "h": 237.872,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59763,
    "c": 0.19983,
    "h": 276.9
  },
  "luminance": 0.19811
}

Semantic roles & 50–950 ramp

primary
#666BF3
secondary
#F0EFC5
accent
#DA04E2
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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