#665EA8#665EA8

#665EA8 is a mid, moderate blue. Relative luminance 0.137; OKLCH L 52.4% C 0.114 H 286.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#665EA8
RGBrgb(102, 94, 168)
HSLhsl(246, 30%, 51%)
HSVhsv(246, 44%, 66%)
CMYKcmyk(39.3%, 44%, 0%, 34.1%)
CIE-LABlab(43.74, 21.71, -38.80)
CIE-LCHlch(43.74, 44.46, 299.23°)
OKLaboklab(52.35% 0.0328 -0.1094)
OKLCHoklch(52.35% 0.114 286.7)
XYZxyz(16.5481, 13.6568, 38.8023)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EA8 #A0A85E
analogous
#5E7BA8 #665EA8 #8B5EA8
triadic
#665EA8 #A8665E #5EA866
tetradic
#665EA8 #A85E7B #A0A85E #5EA88B
square
#665EA8 #A85E7B #A0A85E #5EA88B
split-complementary
#665EA8 #A88B5E #7BA85E
monochromatic
#35315B #4D4682 #665EA8 #8C86BD #B2ADD3

Accessibility & contrast

On white

5.63
#665EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#665EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EA8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EA8#FFFFFF#000000##FFFFFF
##665EA81.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#4365A6
Tritanopia (blue-blind)
#546D7B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665ea8;
/* rgb */ color: rgb(102, 94, 168);
/* oklch */ color: oklch(52.4% 0.114 286.7);
Tailwind
colors: {
  custom: {
    50: '#958bc2',
    500: '#665ea8',
    950: '#000000',
  },
}
SCSS
$custom: #665ea8;
$custom-light: #958bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#665ea8",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 246.486,
    "s": 29.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.11422,
    "h": 286.7
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#665EA8
secondary
#BEC1A1
accent
#C662BB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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