#666DF2#666DF2

#666DF2 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.0% C 0.196 H 276.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#666DF2
RGBrgb(102, 109, 242)
HSLhsl(237, 84%, 67%)
HSVhsv(237, 58%, 95%)
CMYKcmyk(57.9%, 55%, 0%, 5.1%)
CIE-LABlab(52.03, 35.33, -67.91)
CIE-LCHlch(52.03, 76.55, 297.49°)
OKLaboklab(60.05% 0.0221 -0.1948)
OKLCHoklch(60.05% 0.196 276.5)
XYZxyz(26.9700, 20.1709, 86.4593)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DF2 #F2EB66
analogous
#66B3F2 #666DF2 #A566F2
triadic
#666DF2 #F2666D #6DF266
tetradic
#666DF2 #F266B3 #F2EB66 #66F2A5
square
#666DF2 #F266B3 #F2EB66 #66F2A5
split-complementary
#666DF2 #F2A566 #B3F266
monochromatic
#111BCC #2E37ED #666DF2 #9EA3F7 #D7D9FC

Accessibility & contrast

On white

4.17
#666DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#666DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DF2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DF2#FFFFFF#000000##000000
##666DF21.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666df2;
/* rgb */ color: rgb(102, 109, 242);
/* oklch */ color: oklch(60.0% 0.196 276.5);
Tailwind
colors: {
  custom: {
    50: '#9d96f7',
    500: '#666df2',
    950: '#000000',
  },
}
SCSS
$custom: #666df2;
$custom-light: #9d96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#666df2",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 237,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.19602,
    "h": 276.5
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#666DF2
secondary
#F0EEC4
accent
#D605E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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