#665BC7#665BC7

#665BC7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.162 H 284.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#665BC7
RGBrgb(102, 91, 199)
HSLhsl(246, 49%, 57%)
HSVhsv(246, 54%, 78%)
CMYKcmyk(48.7%, 54.3%, 0%, 22%)
CIE-LABlab(44.84, 32.78, -55.13)
CIE-LCHlch(44.84, 64.13, 300.73°)
OKLaboklab(53.78% 0.0396 -0.1573)
OKLCHoklch(53.78% 0.162 284.1)
XYZxyz(19.5263, 14.4295, 55.7781)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BC7 #BCC75B
analogous
#5B86C7 #665BC7 #9C5BC7
triadic
#665BC7 #C7665B #5BC766
tetradic
#665BC7 #C75B86 #BCC75B #5BC79C
square
#665BC7 #C75B86 #BCC75B #5BC79C
split-complementary
#665BC7 #C79C5B #86C75B
monochromatic
#332B7D #463AAB #665BC7 #9189D7 #BBB6E6

Accessibility & contrast

On white

5.40
#665BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#665BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BC7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BC7#FFFFFF#000000##FFFFFF
##665BC71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6DCB
Deuteranopia (green-blind)
#1767C5
Tritanopia (blue-blind)
#437388
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665bc7;
/* rgb */ color: rgb(102, 91, 199);
/* oklch */ color: oklch(53.8% 0.162 284.1);
Tailwind
colors: {
  custom: {
    50: '#9889d9',
    500: '#665bc7',
    950: '#000000',
  },
}
SCSS
$custom: #665bc7;
$custom-light: #9889d9;
$custom-dark: #000000;
JSON
{
  "hex": "#665bc7",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 246.111,
    "s": 49.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53782,
    "c": 0.16221,
    "h": 284.1
  },
  "luminance": 0.1443
}

Semantic roles & 50–950 ramp

primary
#665BC7
secondary
#D0D5A9
accent
#D94FCB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #665BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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