#666DF4#666DF4

#666DF4 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.2% C 0.199 H 276.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#666DF4
RGBrgb(102, 109, 244)
HSLhsl(237, 87%, 68%)
HSVhsv(237, 58%, 96%)
CMYKcmyk(58.2%, 55.3%, 0%, 4.3%)
CIE-LABlab(52.17, 35.97, -68.81)
CIE-LCHlch(52.17, 77.64, 297.60°)
OKLaboklab(60.19% 0.0222 -0.1974)
OKLCHoklch(60.19% 0.199 276.4)
XYZxyz(27.2720, 20.2917, 88.0500)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DF4 #F4ED66
analogous
#66B4F4 #666DF4 #A666F4
triadic
#666DF4 #F4666D #6DF466
tetradic
#666DF4 #F466B4 #F4ED66 #66F4A6
square
#666DF4 #F466B4 #F4ED66 #66F4A6
split-complementary
#666DF4 #F4A666 #B4F466
monochromatic
#0F19D1 #2D37F0 #666DF4 #9FA3F8 #D8DAFC

Accessibility & contrast

On white

4.15
#666DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#666DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DF4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DF4#FFFFFF#000000##000000
##666DF41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666df4;
/* rgb */ color: rgb(102, 109, 244);
/* oklch */ color: oklch(60.2% 0.199 276.4);
Tailwind
colors: {
  custom: {
    50: '#9d96f9',
    500: '#666df4',
    950: '#000000',
  },
}
SCSS
$custom: #666df4;
$custom-light: #9d96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666df4",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 237.042,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6019,
    "c": 0.19865,
    "h": 276.4
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#666DF4
secondary
#F1EFC5
accent
#D802E3
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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