#665BB2#665BB2

#665BB2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.133 H 286.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#665BB2
RGBrgb(102, 91, 178)
HSLhsl(248, 36%, 53%)
HSVhsv(248, 49%, 70%)
CMYKcmyk(42.7%, 48.9%, 0%, 30.2%)
CIE-LABlab(43.54, 26.48, -45.00)
CIE-LCHlch(43.54, 52.22, 300.48°)
OKLaboklab(52.39% 0.0381 -0.1275)
OKLCHoklch(52.39% 0.133 286.6)
XYZxyz(17.2542, 13.5207, 43.8115)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BB2 #A7B25B
analogous
#5B7BB2 #665BB2 #915BB2
triadic
#665BB2 #B2665B #5BB266
tetradic
#665BB2 #B25B7B #A7B25B #5BB291
square
#665BB2 #B25B7B #A7B25B #5BB291
split-complementary
#665BB2 #B2915B #7BB25B
monochromatic
#362F64 #4C428D #665BB2 #8D85C6 #B4AED9

Accessibility & contrast

On white

5.67
#665BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#665BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BB2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BB2#FFFFFF#000000##FFFFFF
##665BB21.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#4F6D7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665bb2;
/* rgb */ color: rgb(102, 91, 178);
/* oklch */ color: oklch(52.4% 0.133 286.6);
Tailwind
colors: {
  custom: {
    50: '#9689c9',
    500: '#665bb2',
    950: '#000000',
  },
}
SCSS
$custom: #665bb2;
$custom-light: #9689c9;
$custom-dark: #000000;
JSON
{
  "hex": "#665bb2",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 247.586,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.13313,
    "h": 286.6
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#665BB2
secondary
#C2C7A2
accent
#CC5CBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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