#665EB8#665EB8

#665EB8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.3% C 0.137 H 284.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#665EB8
RGBrgb(102, 94, 184)
HSLhsl(245, 39%, 55%)
HSVhsv(245, 49%, 72%)
CMYKcmyk(44.6%, 48.9%, 0%, 27.8%)
CIE-LABlab(44.65, 26.42, -46.74)
CIE-LCHlch(44.65, 53.69, 299.48°)
OKLaboklab(53.33% 0.035 -0.1326)
OKLCHoklch(53.33% 0.137 284.8)
XYZxyz(18.1314, 14.2901, 47.1410)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EB8 #B0B85E
analogous
#5E83B8 #665EB8 #935EB8
triadic
#665EB8 #B8665E #5EB866
tetradic
#665EB8 #B85E83 #B0B85E #5EB893
square
#665EB8 #B85E83 #B0B85E #5EB893
split-complementary
#665EB8 #B8935E #83B85E
monochromatic
#35306C #4A4296 #665EB8 #8E88CB #B7B3DD

Accessibility & contrast

On white

5.44
#665EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#665EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EB8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EB8#FFFFFF#000000##FFFFFF
##665EB81.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386CBB
Deuteranopia (green-blind)
#3567B6
Tritanopia (blue-blind)
#4C7182
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665eb8;
/* rgb */ color: rgb(102, 94, 184);
/* oklch */ color: oklch(53.3% 0.137 284.8);
Tailwind
colors: {
  custom: {
    50: '#968bce',
    500: '#665eb8',
    950: '#000000',
  },
}
SCSS
$custom: #665eb8;
$custom-light: #968bce;
$custom-dark: #000000;
JSON
{
  "hex": "#665eb8",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 184
  },
  "hsl": {
    "h": 245.333,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53334,
    "c": 0.13717,
    "h": 284.8
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

primary
#665EB8
secondary
#C9CCA6
accent
#CF59C4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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