#665CAB#665CAB

#665CAB is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.122 H 287.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#665CAB
RGBrgb(102, 92, 171)
HSLhsl(248, 32%, 52%)
HSVhsv(248, 46%, 67%)
CMYKcmyk(40.4%, 46.2%, 0%, 32.9%)
CIE-LABlab(43.39, 23.81, -41.12)
CIE-LCHlch(43.39, 47.52, 300.07°)
OKLaboklab(52.14% 0.036 -0.1162)
OKLCHoklch(52.14% 0.122 287.2)
XYZxyz(16.6553, 13.4188, 40.2327)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CAB #A1AB5C
analogous
#5C7AAB #665CAB #8E5CAB
triadic
#665CAB #AB665C #5CAB66
tetradic
#665CAB #AB5C7A #A1AB5C #5CAB8E
square
#665CAB #AB5C7A #A1AB5C #5CAB8E
split-complementary
#665CAB #AB8E5C #7AAB5C
monochromatic
#36305D #4D4585 #665CAB #8C84C0 #B2ADD5

Accessibility & contrast

On white

5.70
#665CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#665CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CAB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CAB#FFFFFF#000000##FFFFFF
##665CAB1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AE
Deuteranopia (green-blind)
#3E64A9
Tritanopia (blue-blind)
#536C7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665cab;
/* rgb */ color: rgb(102, 92, 171);
/* oklch */ color: oklch(52.1% 0.122 287.2);
Tailwind
colors: {
  custom: {
    50: '#958ac4',
    500: '#665cab',
    950: '#000000',
  },
}
SCSS
$custom: #665cab;
$custom-light: #958ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#665cab",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 247.595,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.12163,
    "h": 287.2
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#665CAB
secondary
#BEC3A0
accent
#C860BB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #665CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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