#665DAF#665DAF

#665DAF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.126 H 286.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#665DAF
RGBrgb(102, 93, 175)
HSLhsl(247, 34%, 53%)
HSVhsv(247, 47%, 69%)
CMYKcmyk(41.7%, 46.9%, 0%, 31.4%)
CIE-LABlab(43.87, 24.37, -42.71)
CIE-LCHlch(43.87, 49.17, 299.71°)
OKLaboklab(52.58% 0.0352 -0.1208)
OKLCHoklch(52.58% 0.126 286.2)
XYZxyz(17.1295, 13.7480, 42.3002)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DAF #A6AF5D
analogous
#5D7DAF #665DAF #8F5DAF
triadic
#665DAF #AF665D #5DAF66
tetradic
#665DAF #AF5D7D #A6AF5D #5DAF8F
square
#665DAF #AF5D7D #A6AF5D #5DAF8F
split-complementary
#665DAF #AF8F5D #7DAF5D
monochromatic
#363061 #4C448A #665DAF #8D86C3 #B3AFD7

Accessibility & contrast

On white

5.60
#665DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#665DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DAF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DAF#FFFFFF#000000##FFFFFF
##665DAF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#3C65AD
Tritanopia (blue-blind)
#516E7D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665daf;
/* rgb */ color: rgb(102, 93, 175);
/* oklch */ color: oklch(52.6% 0.126 286.2);
Tailwind
colors: {
  custom: {
    50: '#958bc7',
    500: '#665daf',
    950: '#000000',
  },
}
SCSS
$custom: #665daf;
$custom-light: #958bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#665daf",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 246.585,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5258,
    "c": 0.12585,
    "h": 286.2
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#665DAF
secondary
#C2C6A2
accent
#CA5EBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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