#666FEB#666FEB

#666FEB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.184 H 276.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#666FEB
RGBrgb(102, 111, 235)
HSLhsl(236, 77%, 66%)
HSVhsv(236, 57%, 92%)
CMYKcmyk(56.6%, 52.8%, 0%, 7.8%)
CIE-LABlab(52.05, 31.89, -63.96)
CIE-LCHlch(52.05, 71.47, 296.50°)
OKLaboklab(59.92% 0.0199 -0.1831)
OKLCHoklch(59.92% 0.184 276.2)
XYZxyz(26.1545, 20.1899, 81.1000)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FEB #EBE266
analogous
#66B1EB #666FEB #9F66EB
triadic
#666FEB #EB666F #6FEB66
tetradic
#666FEB #EB66B1 #EBE266 #66EB9F
square
#666FEB #EB66B1 #EBE266 #66EB9F
split-complementary
#666FEB #EB9F66 #B1EB66
monochromatic
#1924BE #303CE4 #666FEB #9CA2F2 #D2D5F9

Accessibility & contrast

On white

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

On black

5.04
#666FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FEB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FEB#FFFFFF#000000##000000
##666FEB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#128BA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #666feb;
/* rgb */ color: rgb(102, 111, 235);
/* oklch */ color: oklch(59.9% 0.184 276.2);
Tailwind
colors: {
  custom: {
    50: '#9c98f2',
    500: '#666feb',
    950: '#000000',
  },
}
SCSS
$custom: #666feb;
$custom-light: #9c98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#666feb",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 235.94,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59915,
    "c": 0.18422,
    "h": 276.2
  },
  "luminance": 0.20192
}

Semantic roles & 50–950 ramp

primary
#666FEB
secondary
#ECE9C1
accent
#CB0CD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #666FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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