#666FDB#666FDB

#666FDB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.163 H 276.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#666FDB
RGBrgb(102, 111, 219)
HSLhsl(235, 62%, 63%)
HSVhsv(235, 53%, 86%)
CMYKcmyk(53.4%, 49.3%, 0%, 14.1%)
CIE-LABlab(51.04, 26.81, -56.58)
CIE-LCHlch(51.04, 62.61, 295.35°)
OKLaboklab(58.84% 0.0187 -0.1614)
OKLCHoklch(58.84% 0.163 276.6)
XYZxyz(23.9461, 19.3066, 69.4688)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666FDB #DBD266
analogous
#66A9DB #666FDB #9866DB
triadic
#666FDB #DB666F #6FDB66
tetradic
#666FDB #DB66A9 #DBD266 #66DB98
square
#666FDB #DB66A9 #DBD266 #66DB98
split-complementary
#666FDB #DB9866 #A9DB66
monochromatic
#262FA1 #3440CF #666FDB #989EE7 #C9CCF2

Accessibility & contrast

On white

4.32
#666FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#666FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #666FDB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666FDB#FFFFFF#000000##000000
##666FDB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#2F879B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #666fdb;
/* rgb */ color: rgb(102, 111, 219);
/* oklch */ color: oklch(58.8% 0.163 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a98e7',
    500: '#666fdb',
    950: '#000000',
  },
}
SCSS
$custom: #666fdb;
$custom-light: #9a98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#666fdb",
  "rgb": {
    "r": 102,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 235.385,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.16252,
    "h": 276.6
  },
  "luminance": 0.19308
}

Semantic roles & 50–950 ramp

primary
#666FDB
secondary
#E3E0B9
accent
#BC1CCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #666FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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