#665DB2#665DB2

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

Color values

HEX#665DB2
RGBrgb(102, 93, 178)
HSLhsl(246, 36%, 53%)
HSVhsv(246, 48%, 70%)
CMYKcmyk(42.7%, 47.8%, 0%, 30.2%)
CIE-LABlab(44.04, 25.25, -44.20)
CIE-LCHlch(44.04, 50.90, 299.74°)
OKLaboklab(52.77% 0.0356 -0.1252)
OKLCHoklch(52.77% 0.13 285.9)
XYZxyz(17.4274, 13.8672, 43.8692)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DB2 #A9B25D
analogous
#5D7EB2 #665DB2 #905DB2
triadic
#665DB2 #B2665D #5DB266
tetradic
#665DB2 #B25D7E #A9B25D #5DB290
square
#665DB2 #B25D7E #A9B25D #5DB290
split-complementary
#665DB2 #B2905D #7EB25D
monochromatic
#353065 #4B448E #665DB2 #8D86C6 #B4B0D9

Accessibility & contrast

On white

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

On black

3.77
#665DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##665DB2#FFFFFF#000000##FFFFFF
##665DB21.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#3966B0
Tritanopia (blue-blind)
#4F6E7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665db2;
/* rgb */ color: rgb(102, 93, 178);
/* oklch */ color: oklch(52.8% 0.130 285.9);
Tailwind
colors: {
  custom: {
    50: '#968bc9',
    500: '#665db2',
    950: '#000000',
  },
}
SCSS
$custom: #665db2;
$custom-light: #968bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#665db2",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 246.353,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.13015,
    "h": 285.9
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#665DB2
secondary
#C4C8A3
accent
#CC5CC0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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