#666DEF#666DEF

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

Color values

HEX#666DEF
RGBrgb(102, 109, 239)
HSLhsl(237, 81%, 67%)
HSVhsv(237, 57%, 94%)
CMYKcmyk(57.3%, 54.4%, 0%, 6.3%)
CIE-LABlab(51.83, 34.37, -66.56)
CIE-LCHlch(51.83, 74.91, 297.31°)
OKLaboklab(59.83% 0.022 -0.1908)
OKLCHoklch(59.83% 0.192 276.6)
XYZxyz(26.5231, 19.9921, 84.1058)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666DEF #EFE866
analogous
#66B2EF #666DEF #A466EF
triadic
#666DEF #EF666D #6DEF66
tetradic
#666DEF #EF66B2 #EFE866 #66EFA4
square
#666DEF #EF66B2 #EFE866 #66EFA4
split-complementary
#666DEF #EFA466 #B2EF66
monochromatic
#151EC6 #2F38E9 #666DEF #9DA2F5 #D5D7FB

Accessibility & contrast

On white

4.20
#666DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#666DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666DEF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666DEF#FFFFFF#000000##000000
##666DEF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E81F3
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#038BA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666def;
/* rgb */ color: rgb(102, 109, 239);
/* oklch */ color: oklch(59.8% 0.192 276.6);
Tailwind
colors: {
  custom: {
    50: '#9d96f5',
    500: '#666def',
    950: '#000000',
  },
}
SCSS
$custom: #666def;
$custom-light: #9d96f5;
$custom-dark: #000000;
JSON
{
  "hex": "#666def",
  "rgb": {
    "r": 102,
    "g": 109,
    "b": 239
  },
  "hsl": {
    "h": 236.934,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.59832,
    "c": 0.19207,
    "h": 276.6
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#666DEF
secondary
#EEECC2
accent
#D308DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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