#665AAF#665AAF

#665AAF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.130 H 287.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#665AAF
RGBrgb(102, 90, 175)
HSLhsl(248, 35%, 52%)
HSVhsv(248, 49%, 69%)
CMYKcmyk(41.7%, 48.6%, 0%, 31.4%)
CIE-LABlab(43.11, 26.21, -43.92)
CIE-LCHlch(43.11, 51.15, 300.83°)
OKLaboklab(52.01% 0.0391 -0.1244)
OKLCHoklch(52.01% 0.13 287.4)
XYZxyz(16.8713, 13.2317, 42.2142)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665AAF #A3AF5A
analogous
#5A78AF #665AAF #915AAF
triadic
#665AAF #AF665A #5AAF66
tetradic
#665AAF #AF5A78 #A3AF5A #5AAF91
square
#665AAF #AF5A78 #A3AF5A #5AAF91
split-complementary
#665AAF #AF915A #78AF5A
monochromatic
#362F60 #4D4389 #665AAF #8C83C3 #B2ACD7

Accessibility & contrast

On white

5.76
#665AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#665AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665AAF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665AAF#FFFFFF#000000##FFFFFF
##665AAF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#3864AD
Tritanopia (blue-blind)
#516B7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665aaf;
/* rgb */ color: rgb(102, 90, 175);
/* oklch */ color: oklch(52.0% 0.130 287.4);
Tailwind
colors: {
  custom: {
    50: '#9589c7',
    500: '#665aaf',
    950: '#000000',
  },
}
SCSS
$custom: #665aaf;
$custom-light: #9589c7;
$custom-dark: #000000;
JSON
{
  "hex": "#665aaf",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 248.471,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.13039,
    "h": 287.4
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#665AAF
secondary
#C0C5A0
accent
#CB5DBB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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