#665BBB#665BBB

#665BBB is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.146 H 285.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#665BBB
RGBrgb(102, 91, 187)
HSLhsl(247, 41%, 55%)
HSVhsv(247, 51%, 73%)
CMYKcmyk(45.5%, 51.3%, 0%, 26.7%)
CIE-LABlab(44.08, 29.16, -49.39)
CIE-LCHlch(44.08, 57.36, 300.55°)
OKLaboklab(52.97% 0.039 -0.1404)
OKLCHoklch(52.97% 0.146 285.5)
XYZxyz(18.1876, 13.8940, 48.7276)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BBB #B0BB5B
analogous
#5B80BB #665BBB #965BBB
triadic
#665BBB #BB665B #5BBB66
tetradic
#665BBB #BB5B80 #B0BB5B #5BBB96
square
#665BBB #BB5B80 #B0BB5B #5BBB96
split-complementary
#665BBB #BB965B #80BB5B
monochromatic
#352E6E #4A4099 #665BBB #8E86CD #B7B2DF

Accessibility & contrast

On white

5.56
#665BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#665BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BBB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BBB#FFFFFF#000000##FFFFFF
##665BBB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBE
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#4B6F82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665bbb;
/* rgb */ color: rgb(102, 91, 187);
/* oklch */ color: oklch(53.0% 0.146 285.5);
Tailwind
colors: {
  custom: {
    50: '#9789d0',
    500: '#665bbb',
    950: '#000000',
  },
}
SCSS
$custom: #665bbb;
$custom-light: #9789d0;
$custom-dark: #000000;
JSON
{
  "hex": "#665bbb",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 246.875,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.14574,
    "h": 285.5
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#665BBB
secondary
#C9CDA5
accent
#D157C3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #665BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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