#665FAF#665FAF

#665FAF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.123 H 285.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#665FAF
RGBrgb(102, 95, 175)
HSLhsl(245, 33%, 53%)
HSVhsv(245, 46%, 69%)
CMYKcmyk(41.7%, 45.7%, 0%, 31.4%)
CIE-LABlab(44.38, 23.14, -41.90)
CIE-LCHlch(44.38, 47.86, 298.91°)
OKLaboklab(52.97% 0.0326 -0.1184)
OKLCHoklch(52.97% 0.123 285.4)
XYZxyz(17.3074, 14.1037, 42.3595)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FAF #A8AF5F
analogous
#5F80AF #665FAF #8E5FAF
triadic
#665FAF #AF665F #5FAF66
tetradic
#665FAF #AF5F80 #A8AF5F #5FAF8E
square
#665FAF #AF5F80 #A8AF5F #5FAF8E
split-complementary
#665FAF #AF8E5F #80AF5F
monochromatic
#363162 #4C468B #665FAF #8D88C3 #B4B1D8

Accessibility & contrast

On white

5.50
#665FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#665FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FAF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FAF#FFFFFF#000000##FFFFFF
##665FAF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#3F67AD
Tritanopia (blue-blind)
#516F7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665faf;
/* rgb */ color: rgb(102, 95, 175);
/* oklch */ color: oklch(53.0% 0.123 285.4);
Tailwind
colors: {
  custom: {
    50: '#958cc7',
    500: '#665faf',
    950: '#000000',
  },
}
SCSS
$custom: #665faf;
$custom-light: #958cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#665faf",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 245.25,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.12284,
    "h": 285.4
  },
  "luminance": 0.14104
}

Semantic roles & 50–950 ramp

primary
#665FAF
secondary
#C3C6A4
accent
#C95EC0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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