#665EA4#665EA4

#665EA4 is a mid, moderate blue. Relative luminance 0.135; OKLCH L 52.1% C 0.108 H 287.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#665EA4
RGBrgb(102, 94, 164)
HSLhsl(247, 28%, 51%)
HSVhsv(247, 43%, 64%)
CMYKcmyk(37.8%, 42.7%, 0%, 35.7%)
CIE-LABlab(43.52, 20.56, -36.78)
CIE-LCHlch(43.52, 42.13, 299.20°)
OKLaboklab(52.12% 0.0321 -0.1035)
OKLCHoklch(52.12% 0.108 287.3)
XYZxyz(16.1812, 13.5100, 36.8699)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EA4 #9CA45E
analogous
#5E79A4 #665EA4 #895EA4
triadic
#665EA4 #A4665E #5EA466
tetradic
#665EA4 #A45E79 #9CA45E #5EA489
square
#665EA4 #A45E79 #9CA45E #5EA489
split-complementary
#665EA4 #A4895E #79A45E
monochromatic
#353157 #4D477E #665EA4 #8B85BA #B0ACD0

Accessibility & contrast

On white

5.67
#665EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#665EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EA4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EA4#FFFFFF#000000##FFFFFF
##665EA41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4669A7
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#556C79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665ea4;
/* rgb */ color: rgb(102, 94, 164);
/* oklch */ color: oklch(52.1% 0.108 287.3);
Tailwind
colors: {
  custom: {
    50: '#948bbf',
    500: '#665ea4',
    950: '#000000',
  },
}
SCSS
$custom: #665ea4;
$custom-light: #948bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#665ea4",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 246.857,
    "s": 27.778,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.10837,
    "h": 287.3
  },
  "luminance": 0.13511
}

Semantic roles & 50–950 ramp

primary
#665EA4
secondary
#BBBE9F
accent
#C464B9
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665EA4

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

Preview Lab → · Contrast checker → · Palette generator →

#665EA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva