#665FA8#665FA8

#665FA8 is a mid, moderate blue. Relative luminance 0.138; OKLCH L 52.5% C 0.113 H 286.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#665FA8
RGBrgb(102, 95, 168)
HSLhsl(246, 30%, 52%)
HSVhsv(246, 43%, 66%)
CMYKcmyk(39.3%, 43.5%, 0%, 34.1%)
CIE-LABlab(44.00, 21.09, -38.39)
CIE-LCHlch(44.00, 43.80, 298.78°)
OKLaboklab(52.55% 0.0315 -0.1082)
OKLCHoklch(52.55% 0.113 286.2)
XYZxyz(16.6376, 13.8358, 38.8322)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FA8 #A1A85F
analogous
#5F7DA8 #665FA8 #8B5FA8
triadic
#665FA8 #A8665F #5FA866
tetradic
#665FA8 #A85F7D #A1A85F #5FA88B
square
#665FA8 #A85F7D #A1A85F #5FA88B
split-complementary
#665FA8 #A88B5F #7DA85F
monochromatic
#36325B #4D4783 #665FA8 #8C87BE #B2AED3

Accessibility & contrast

On white

5.57
#665FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#665FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FA8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FA8#FFFFFF#000000##FFFFFF
##665FA81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466AAB
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#546D7B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665fa8;
/* rgb */ color: rgb(102, 95, 168);
/* oklch */ color: oklch(52.5% 0.113 286.2);
Tailwind
colors: {
  custom: {
    50: '#958cc2',
    500: '#665fa8',
    950: '#000000',
  },
}
SCSS
$custom: #665fa8;
$custom-light: #958cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#665fa8",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 245.753,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5255,
    "c": 0.11268,
    "h": 286.2
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #665FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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