#665ACB#665ACB

#665ACB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.9% C 0.169 H 284.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#665ACB
RGBrgb(102, 90, 203)
HSLhsl(246, 52%, 57%)
HSVhsv(246, 56%, 80%)
CMYKcmyk(49.8%, 55.7%, 0%, 20.4%)
CIE-LABlab(44.87, 34.59, -57.39)
CIE-LCHlch(44.87, 67.01, 301.08°)
OKLaboklab(53.89% 0.0409 -0.164)
OKLCHoklch(53.89% 0.169 284)
XYZxyz(19.9119, 14.4479, 58.2279)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ACB #BFCB5A
analogous
#5A86CB #665ACB #9F5ACB
triadic
#665ACB #CB665A #5ACB66
tetradic
#665ACB #CB5A86 #BFCB5A #5ACB9F
square
#665ACB #CB5A86 #BFCB5A #5ACB9F
split-complementary
#665ACB #CB9F5A #86CB5A
monochromatic
#322982 #4438B0 #665ACB #9189DA #BCB7E8

Accessibility & contrast

On white

5.40
#665ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#665ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ACB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ACB#FFFFFF#000000##FFFFFF
##665ACB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ECF
Deuteranopia (green-blind)
#0267C9
Tritanopia (blue-blind)
#41738A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665acb;
/* rgb */ color: rgb(102, 90, 203);
/* oklch */ color: oklch(53.9% 0.169 284.0);
Tailwind
colors: {
  custom: {
    50: '#9989dc',
    500: '#665acb',
    950: '#000000',
  },
}
SCSS
$custom: #665acb;
$custom-light: #9989dc;
$custom-dark: #000000;
JSON
{
  "hex": "#665acb",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 246.372,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53885,
    "c": 0.16898,
    "h": 284
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#665ACB
secondary
#D2D7AA
accent
#DC4CCC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #665ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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