#665CB1#665CB1

#665CB1 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.130 H 286.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#665CB1
RGBrgb(102, 92, 177)
HSLhsl(247, 35%, 53%)
HSVhsv(247, 48%, 69%)
CMYKcmyk(42.4%, 48%, 0%, 30.6%)
CIE-LABlab(43.73, 25.57, -44.11)
CIE-LCHlch(43.73, 50.98, 300.11°)
OKLaboklab(52.51% 0.0367 -0.1249)
OKLCHoklch(52.51% 0.13 286.4)
XYZxyz(17.2402, 13.6528, 43.3133)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CB1 #A7B15C
analogous
#5C7CB1 #665CB1 #915CB1
triadic
#665CB1 #B1665C #5CB166
tetradic
#665CB1 #B15C7C #A7B15C #5CB191
square
#665CB1 #B15C7C #A7B15C #5CB191
split-complementary
#665CB1 #B1915C #7CB15C
monochromatic
#362F63 #4C438D #665CB1 #8D85C5 #B4AFD9

Accessibility & contrast

On white

5.63
#665CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#665CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CB1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CB1#FFFFFF#000000##FFFFFF
##665CB11.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB4
Deuteranopia (green-blind)
#3965AF
Tritanopia (blue-blind)
#506D7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665cb1;
/* rgb */ color: rgb(102, 92, 177);
/* oklch */ color: oklch(52.5% 0.130 286.4);
Tailwind
colors: {
  custom: {
    50: '#968ac9',
    500: '#665cb1',
    950: '#000000',
  },
}
SCSS
$custom: #665cb1;
$custom-light: #968ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#665cb1",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 247.059,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.13021,
    "h": 286.4
  },
  "luminance": 0.13653
}

Semantic roles & 50–950 ramp

primary
#665CB1
secondary
#C2C7A2
accent
#CB5CBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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