#665FA2#665FA2

#665FA2 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 52.2% C 0.104 H 287.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#665FA2
RGBrgb(102, 95, 162)
HSLhsl(246, 26%, 50%)
HSVhsv(246, 41%, 64%)
CMYKcmyk(37%, 41.4%, 0%, 36.5%)
CIE-LABlab(43.68, 19.36, -35.34)
CIE-LCHlch(43.68, 40.30, 298.72°)
OKLaboklab(52.21% 0.0304 -0.0993)
OKLCHoklch(52.21% 0.104 287)
XYZxyz(16.0915, 13.6174, 35.9560)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FA2 #9BA25F
analogous
#5F79A2 #665FA2 #875FA2
triadic
#665FA2 #A2665F #5FA266
tetradic
#665FA2 #A25F79 #9BA25F #5FA287
square
#665FA2 #A25F79 #9BA25F #5FA287
split-complementary
#665FA2 #A2875F #79A25F
monochromatic
#353155 #4D487C #665FA2 #8B86B8 #B0ACCF

Accessibility & contrast

On white

5.64
#665FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#665FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FA2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FA2#FFFFFF#000000##FFFFFF
##665FA21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#566C79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665fa2;
/* rgb */ color: rgb(102, 95, 162);
/* oklch */ color: oklch(52.2% 0.104 287.0);
Tailwind
colors: {
  custom: {
    50: '#948cbe',
    500: '#665fa2',
    950: '#000000',
  },
}
SCSS
$custom: #665fa2;
$custom-light: #948cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#665fa2",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 246.269,
    "s": 26.482,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52205,
    "c": 0.10386,
    "h": 287
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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