#666BF5#666BF5

#666BF5 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.9% C 0.202 H 276.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#666BF5
RGBrgb(102, 107, 245)
HSLhsl(238, 88%, 68%)
HSVhsv(238, 58%, 96%)
CMYKcmyk(58.4%, 56.3%, 0%, 3.9%)
CIE-LABlab(51.76, 37.48, -70.02)
CIE-LCHlch(51.76, 79.42, 298.16°)
OKLaboklab(59.91% 0.024 -0.201)
OKLCHoklch(59.91% 0.202 276.8)
XYZxyz(27.2133, 19.9307, 88.7815)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666BF5 #F5F066
analogous
#66B2F5 #666BF5 #A866F5
triadic
#666BF5 #F5666B #6BF566
tetradic
#666BF5 #F566B2 #F5F066 #66F5A8
square
#666BF5 #F566B2 #F5F066 #66F5A8
split-complementary
#666BF5 #F5A866 #B2F566
monochromatic
#0E15D3 #2D33F1 #666BF5 #9FA3F9 #D9DAFD

Accessibility & contrast

On white

4.21
#666BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#666BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666BF5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666BF5#FFFFFF#000000##000000
##666BF51.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#0075F2
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #666bf5;
/* rgb */ color: rgb(102, 107, 245);
/* oklch */ color: oklch(59.9% 0.202 276.8);
Tailwind
colors: {
  custom: {
    50: '#9e95f9',
    500: '#666bf5',
    950: '#000000',
  },
}
SCSS
$custom: #666bf5;
$custom-light: #9e95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666bf5",
  "rgb": {
    "r": 102,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 237.902,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.20243,
    "h": 276.8
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#666BF5
secondary
#F1F0C6
accent
#DC01E4
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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