#665FB6#665FB6

#665FB6 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.4% C 0.133 H 284.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#665FB6
RGBrgb(102, 95, 182)
HSLhsl(245, 37%, 54%)
HSVhsv(245, 48%, 71%)
CMYKcmyk(44%, 47.8%, 0%, 28.6%)
CIE-LABlab(44.78, 25.21, -45.36)
CIE-LCHlch(44.78, 51.89, 299.07°)
OKLaboklab(53.4% 0.0335 -0.1286)
OKLCHoklch(53.4% 0.133 284.6)
XYZxyz(18.0127, 14.3858, 46.0746)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FB6 #AFB65F
analogous
#5F84B6 #665FB6 #925FB6
triadic
#665FB6 #B6665F #5FB666
tetradic
#665FB6 #B65F84 #AFB65F #5FB692
square
#665FB6 #B65F84 #AFB65F #5FB692
split-complementary
#665FB6 #B6925F #84B65F
monochromatic
#35306A #4A4494 #665FB6 #8E89C9 #B6B3DC

Accessibility & contrast

On white

5.42
#665FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#665FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FB6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FB6#FFFFFF#000000##FFFFFF
##665FB61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DB9
Deuteranopia (green-blind)
#3967B4
Tritanopia (blue-blind)
#4D7182
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665fb6;
/* rgb */ color: rgb(102, 95, 182);
/* oklch */ color: oklch(53.4% 0.133 284.6);
Tailwind
colors: {
  custom: {
    50: '#968ccc',
    500: '#665fb6',
    950: '#000000',
  },
}
SCSS
$custom: #665fb6;
$custom-light: #968ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#665fb6",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 244.828,
    "s": 37.339,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53398,
    "c": 0.13287,
    "h": 284.6
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#665FB6
secondary
#C8CBA6
accent
#CD5AC4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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