#665BC5#665BC5

#665BC5 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.6% C 0.160 H 284.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#665BC5
RGBrgb(102, 91, 197)
HSLhsl(246, 48%, 56%)
HSVhsv(246, 54%, 77%)
CMYKcmyk(48.2%, 53.8%, 0%, 22.7%)
CIE-LABlab(44.71, 32.17, -54.18)
CIE-LCHlch(44.71, 63.01, 300.70°)
OKLaboklab(53.64% 0.0395 -0.1545)
OKLCHoklch(53.64% 0.16 284.4)
XYZxyz(19.2956, 14.3372, 54.5631)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BC5 #BAC55B
analogous
#5B85C5 #665BC5 #9B5BC5
triadic
#665BC5 #C5665B #5BC566
tetradic
#665BC5 #C55B85 #BAC55B #5BC59B
square
#665BC5 #C55B85 #BAC55B #5BC59B
split-complementary
#665BC5 #C59B5B #85C55B
monochromatic
#332B7A #463BA8 #665BC5 #9088D5 #BAB5E5

Accessibility & contrast

On white

5.43
#665BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#665BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BC5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BC5#FFFFFF#000000##FFFFFF
##665BC51.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226DC9
Deuteranopia (green-blind)
#1C66C3
Tritanopia (blue-blind)
#457287
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665bc5;
/* rgb */ color: rgb(102, 91, 197);
/* oklch */ color: oklch(53.6% 0.160 284.4);
Tailwind
colors: {
  custom: {
    50: '#9889d7',
    500: '#665bc5',
    950: '#000000',
  },
}
SCSS
$custom: #665bc5;
$custom-light: #9889d7;
$custom-dark: #000000;
JSON
{
  "hex": "#665bc5",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 246.226,
    "s": 47.748,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53643,
    "c": 0.1595,
    "h": 284.4
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#665BC5
secondary
#CFD4A8
accent
#D750C9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #665BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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