#665EA3#665EA3

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

Color values

HEX#665EA3
RGBrgb(102, 94, 163)
HSLhsl(247, 27%, 50%)
HSVhsv(247, 42%, 64%)
CMYKcmyk(37.4%, 42.3%, 0%, 36.1%)
CIE-LABlab(43.47, 20.27, -36.27)
CIE-LCHlch(43.47, 41.55, 299.20°)
OKLaboklab(52.06% 0.032 -0.102)
OKLCHoklch(52.06% 0.107 287.4)
XYZxyz(16.0912, 13.4740, 36.3962)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EA3 #9BA35E
analogous
#5E78A3 #665EA3 #895EA3
triadic
#665EA3 #A3665E #5EA366
tetradic
#665EA3 #A35E78 #9BA35E #5EA389
square
#665EA3 #A35E78 #9BA35E #5EA389
split-complementary
#665EA3 #A3895E #78A35E
monochromatic
#353156 #4D477D #665EA3 #8B85B9 #B0ACD0

Accessibility & contrast

On white

5.68
#665EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665EA3
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EA3#FFFFFF#000000##FFFFFF
##665EA31.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A6
Deuteranopia (green-blind)
#4665A1
Tritanopia (blue-blind)
#566B78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665ea3;
/* rgb */ color: rgb(102, 94, 163);
/* oklch */ color: oklch(52.1% 0.107 287.4);
Tailwind
colors: {
  custom: {
    50: '#948bbe',
    500: '#665ea3',
    950: '#000000',
  },
}
SCSS
$custom: #665ea3;
$custom-light: #948bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#665ea3",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 246.957,
    "s": 27.273,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.1069,
    "h": 287.4
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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