#665EA2#665EA2

#665EA2 is a mid, moderate blue. Relative luminance 0.134; OKLCH L 52.0% C 0.105 H 287.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#665EA2
RGBrgb(102, 94, 162)
HSLhsl(247, 27%, 50%)
HSVhsv(247, 42%, 64%)
CMYKcmyk(37%, 42%, 0%, 36.5%)
CIE-LABlab(43.42, 19.98, -35.76)
CIE-LCHlch(43.42, 40.96, 299.20°)
OKLaboklab(52.01% 0.0318 -0.1005)
OKLCHoklch(52.01% 0.105 287.5)
XYZxyz(16.0020, 13.4384, 35.9262)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EA2 #9AA25E
analogous
#5E78A2 #665EA2 #885EA2
triadic
#665EA2 #A2665E #5EA266
tetradic
#665EA2 #A25E78 #9AA25E #5EA288
square
#665EA2 #A25E78 #9AA25E #5EA288
split-complementary
#665EA2 #A2885E #78A25E
monochromatic
#353155 #4D477B #665EA2 #8B85B8 #B0ACCF

Accessibility & contrast

On white

5.69
#665EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#665EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EA2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EA2#FFFFFF#000000##FFFFFF
##665EA21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4868A5
Deuteranopia (green-blind)
#4765A0
Tritanopia (blue-blind)
#566B78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665ea2;
/* rgb */ color: rgb(102, 94, 162);
/* oklch */ color: oklch(52.0% 0.105 287.5);
Tailwind
colors: {
  custom: {
    50: '#948bbe',
    500: '#665ea2',
    950: '#000000',
  },
}
SCSS
$custom: #665ea2;
$custom-light: #948bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#665ea2",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 247.059,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.10542,
    "h": 287.5
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#665EA2
secondary
#BABD9F
accent
#C365B8
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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