#666EF3#666EF3

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

Color values

HEX#666EF3
RGBrgb(102, 110, 243)
HSLhsl(237, 85%, 68%)
HSVhsv(237, 58%, 95%)
CMYKcmyk(58%, 54.7%, 0%, 4.7%)
CIE-LABlab(52.34, 35.05, -67.97)
CIE-LCHlch(52.34, 76.47, 297.28°)
OKLaboklab(60.3% 0.0212 -0.1949)
OKLCHoklch(60.3% 0.196 276.2)
XYZxyz(27.2279, 20.4457, 87.2882)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666EF3 #F3EB66
analogous
#66B4F3 #666EF3 #A566F3
triadic
#666EF3 #F3666E #6EF366
tetradic
#666EF3 #F366B4 #F3EB66 #66F3A5
square
#666EF3 #F366B4 #F3EB66 #66F3A5
split-complementary
#666EF3 #F3A566 #B4F366
monochromatic
#101BCE #2D38EF #666EF3 #9FA4F7 #D7DAFC

Accessibility & contrast

On white

4.13
#666EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#666EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666EF3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666EF3#FFFFFF#000000##000000
##666EF31.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0283F8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #666ef3;
/* rgb */ color: rgb(102, 110, 243);
/* oklch */ color: oklch(60.3% 0.196 276.2);
Tailwind
colors: {
  custom: {
    50: '#9d97f8',
    500: '#666ef3',
    950: '#000000',
  },
}
SCSS
$custom: #666ef3;
$custom-light: #9d97f8;
$custom-dark: #000000;
JSON
{
  "hex": "#666ef3",
  "rgb": {
    "r": 102,
    "g": 110,
    "b": 243
  },
  "hsl": {
    "h": 236.596,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60297,
    "c": 0.19609,
    "h": 276.2
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#666EF3
secondary
#F0EEC5
accent
#D504E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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