#665CB2#665CB2

#665CB2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.132 H 286.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#665CB2
RGBrgb(102, 92, 178)
HSLhsl(247, 36%, 53%)
HSVhsv(247, 48%, 70%)
CMYKcmyk(42.7%, 48.3%, 0%, 30.2%)
CIE-LABlab(43.79, 25.87, -44.60)
CIE-LCHlch(43.79, 51.56, 300.11°)
OKLaboklab(52.58% 0.0369 -0.1264)
OKLCHoklch(52.58% 0.132 286.3)
XYZxyz(17.3402, 13.6928, 43.8402)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CB2 #A8B25C
analogous
#5C7DB2 #665CB2 #915CB2
triadic
#665CB2 #B2665C #5CB266
tetradic
#665CB2 #B25C7D #A8B25C #5CB291
square
#665CB2 #B25C7D #A8B25C #5CB291
split-complementary
#665CB2 #B2915C #7DB25C
monochromatic
#362F64 #4C438E #665CB2 #8D86C6 #B4AFD9

Accessibility & contrast

On white

5.62
#665CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#665CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CB2
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CB2#FFFFFF#000000##FFFFFF
##665CB21.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#4F6E7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665cb2;
/* rgb */ color: rgb(102, 92, 178);
/* oklch */ color: oklch(52.6% 0.132 286.3);
Tailwind
colors: {
  custom: {
    50: '#968ac9',
    500: '#665cb2',
    950: '#000000',
  },
}
SCSS
$custom: #665cb2;
$custom-light: #968ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#665cb2",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 246.977,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.13163,
    "h": 286.3
  },
  "luminance": 0.13693
}

Semantic roles & 50–950 ramp

primary
#665CB2
secondary
#C3C7A2
accent
#CC5CBF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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