#666DF5#666DF5

#666DF5 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.3% C 0.200 H 276.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#666DF5
RGBrgb(102, 109, 245)
HSLhsl(237, 88%, 68%)
HSVhsv(237, 58%, 96%)
CMYKcmyk(58.4%, 55.5%, 0%, 3.9%)
CIE-LABlab(52.23, 36.29, -69.25)
CIE-LCHlch(52.23, 78.18, 297.65°)
OKLaboklab(60.26% 0.0222 -0.1987)
OKLCHoklch(60.26% 0.2 276.4)
XYZxyz(27.4242, 20.3526, 88.8518)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DF5 #F5EE66
analogous
#66B4F5 #666DF5 #A666F5
triadic
#666DF5 #F5666D #6DF566
tetradic
#666DF5 #F566B4 #F5EE66 #66F5A6
square
#666DF5 #F566B4 #F5EE66 #66F5A6
split-complementary
#666DF5 #F5A666 #B4F566
monochromatic
#0E17D3 #2D36F1 #666DF5 #9FA4F9 #D9DBFD

Accessibility & contrast

On white

4.14
#666DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#666DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DF5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DF5#FFFFFF#000000##000000
##666DF51.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #666df5;
/* rgb */ color: rgb(102, 109, 245);
/* oklch */ color: oklch(60.3% 0.200 276.4);
Tailwind
colors: {
  custom: {
    50: '#9e97f9',
    500: '#666df5',
    950: '#000000',
  },
}
SCSS
$custom: #666df5;
$custom-light: #9e97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#666df5",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 237.063,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60263,
    "c": 0.19995,
    "h": 276.4
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#666DF5
secondary
#F1EFC6
accent
#D901E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #666DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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