#665EB7#665EB7

#665EB7 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.136 H 284.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#665EB7
RGBrgb(102, 94, 183)
HSLhsl(245, 38%, 54%)
HSVhsv(245, 49%, 72%)
CMYKcmyk(44.3%, 48.6%, 0%, 28.2%)
CIE-LABlab(44.59, 26.12, -46.25)
CIE-LCHlch(44.59, 53.12, 299.46°)
OKLaboklab(53.27% 0.0349 -0.1312)
OKLCHoklch(53.27% 0.136 284.9)
XYZxyz(18.0270, 14.2483, 46.5909)
Luminance0.1425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EB7 #AFB75E
analogous
#5E83B7 #665EB7 #935EB7
triadic
#665EB7 #B7665E #5EB766
tetradic
#665EB7 #B75E83 #AFB75E #5EB793
square
#665EB7 #B75E83 #AFB75E #5EB793
split-complementary
#665EB7 #B7935E #83B75E
monochromatic
#35306B #4A4395 #665EB7 #8E88CA #B6B3DD

Accessibility & contrast

On white

5.45
#665EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#665EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EB7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EB7#FFFFFF#000000##FFFFFF
##665EB71.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#3667B5
Tritanopia (blue-blind)
#4D7182
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665eb7;
/* rgb */ color: rgb(102, 94, 183);
/* oklch */ color: oklch(53.3% 0.136 284.9);
Tailwind
colors: {
  custom: {
    50: '#968bcd',
    500: '#665eb7',
    950: '#000000',
  },
}
SCSS
$custom: #665eb7;
$custom-light: #968bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#665eb7",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 245.393,
    "s": 38.197,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.13576,
    "h": 284.9
  },
  "luminance": 0.14249
}

Semantic roles & 50–950 ramp

primary
#665EB7
secondary
#C8CBA6
accent
#CE5AC4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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