#665F97#665F97

#665F97 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.6% C 0.087 H 288.7°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#665F97
RGBrgb(102, 95, 151)
HSLhsl(248, 23%, 48%)
HSVhsv(248, 37%, 59%)
CMYKcmyk(32.5%, 37.1%, 0%, 40.8%)
CIE-LABlab(43.13, 16.28, -29.67)
CIE-LCHlch(43.13, 33.84, 298.75°)
OKLaboklab(51.6% 0.028 -0.0828)
OKLCHoklch(51.6% 0.087 288.7)
XYZxyz(15.1562, 13.2432, 31.0298)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665F97 #90975F
analogous
#5F7497 #665F97 #825F97
triadic
#665F97 #97665F #5F9766
tetradic
#665F97 #975F74 #90975F #5F9782
square
#665F97 #975F74 #90975F #5F9782
split-complementary
#665F97 #97825F #74975F
monochromatic
#33304C #4D4771 #665F97 #8883B1 #ACA8C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665F97#FFFFFF#000000##FFFFFF
##665F971.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)
#4F6799
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#5A6974
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665f97;
/* rgb */ color: rgb(102, 95, 151);
/* oklch */ color: oklch(51.6% 0.087 288.7);
Tailwind
colors: {
  custom: {
    50: '#938cb6',
    500: '#665f97',
    950: '#000000',
  },
}
SCSS
$custom: #665f97;
$custom-light: #938cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#665f97",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 151
  },
  "hsl": {
    "h": 247.5,
    "s": 22.764,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.08745,
    "h": 288.7
  },
  "luminance": 0.13244
}

Semantic roles & 50–950 ramp

primary
#665F97
secondary
#B3B79B
accent
#BF69B4
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80

Preview Lab

Preview with #665F97

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

Preview Lab → · Contrast checker → · Palette generator →

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