#666397#666397

#666397 is a mid, moderate blue. Relative luminance 0.140; OKLCH L 52.4% C 0.081 H 285.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#666397
RGBrgb(102, 99, 151)
HSLhsl(243, 21%, 49%)
HSVhsv(243, 34%, 59%)
CMYKcmyk(32.5%, 34.4%, 0%, 40.8%)
CIE-LABlab(44.21, 13.81, -27.98)
CIE-LCHlch(44.21, 31.20, 296.26°)
OKLaboklab(52.43% 0.0222 -0.078)
OKLCHoklch(52.43% 0.081 285.9)
XYZxyz(15.5258, 13.9824, 31.1530)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#666397 #949763
analogous
#637A97 #666397 #806397
triadic
#666397 #976663 #639766
tetradic
#666397 #97637A #949763 #639780
square
#666397 #97637A #949763 #639780
split-complementary
#666397 #978063 #7A9763
monochromatic
#34334D #4D4B72 #666397 #8987B0 #AEACC9

Accessibility & contrast

On white

5.53
#666397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#666397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #666397
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##666397#FFFFFF#000000##FFFFFF
##6663971.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#5A6C76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #666397;
/* rgb */ color: rgb(102, 99, 151);
/* oklch */ color: oklch(52.4% 0.081 285.9);
Tailwind
colors: {
  custom: {
    50: '#938fb6',
    500: '#666397',
    950: '#000000',
  },
}
SCSS
$custom: #666397;
$custom-light: #938fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#666397",
  "rgb": {
    "r": 102,
    "g": 99,
    "b": 151
  },
  "hsl": {
    "h": 243.462,
    "s": 20.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52431,
    "c": 0.08106,
    "h": 285.9
  },
  "luminance": 0.13983
}

Semantic roles & 50–950 ramp

primary
#666397
secondary
#B6B79F
accent
#BD6AB9
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #666397

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

Preview Lab → · Contrast checker → · Palette generator →

#666397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva