#665AC0#665AC0

#665AC0 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.154 H 285.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#665AC0
RGBrgb(102, 90, 192)
HSLhsl(247, 45%, 55%)
HSVhsv(247, 53%, 75%)
CMYKcmyk(46.9%, 53.1%, 0%, 24.7%)
CIE-LABlab(44.15, 31.27, -52.19)
CIE-LCHlch(44.15, 60.84, 300.93°)
OKLaboklab(53.12% 0.0405 -0.1487)
OKLCHoklch(53.12% 0.154 285.2)
XYZxyz(18.6473, 13.9420, 51.5675)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AC0 #B4C05A
analogous
#5A81C0 #665AC0 #995AC0
triadic
#665AC0 #C0665A #5AC066
tetradic
#665AC0 #C05A81 #B4C05A #5AC099
square
#665AC0 #C05A81 #B4C05A #5AC099
split-complementary
#665AC0 #C0995A #81C05A
monochromatic
#342C73 #493DA0 #665AC0 #8F86D1 #B8B3E2

Accessibility & contrast

On white

5.54
#665AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#665AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AC0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AC0#FFFFFF#000000##FFFFFF
##665AC01.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC4
Deuteranopia (green-blind)
#2365BE
Tritanopia (blue-blind)
#487084
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665ac0;
/* rgb */ color: rgb(102, 90, 192);
/* oklch */ color: oklch(53.1% 0.154 285.2);
Tailwind
colors: {
  custom: {
    50: '#9789d4',
    500: '#665ac0',
    950: '#000000',
  },
}
SCSS
$custom: #665ac0;
$custom-light: #9789d4;
$custom-dark: #000000;
JSON
{
  "hex": "#665ac0",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 247.059,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.15408,
    "h": 285.2
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#665AC0
secondary
#CBD0A6
accent
#D453C5
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #665AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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