#665FB8#665FB8

#665FB8 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.5% C 0.136 H 284.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#665FB8
RGBrgb(102, 95, 184)
HSLhsl(245, 39%, 55%)
HSVhsv(245, 48%, 72%)
CMYKcmyk(44.6%, 48.4%, 0%, 27.8%)
CIE-LABlab(44.90, 25.81, -46.34)
CIE-LCHlch(44.90, 53.04, 299.12°)
OKLaboklab(53.52% 0.0337 -0.1314)
OKLCHoklch(53.52% 0.136 284.4)
XYZxyz(18.2209, 14.4691, 47.1709)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FB8 #B1B85F
analogous
#5F85B8 #665FB8 #935FB8
triadic
#665FB8 #B8665F #5FB866
tetradic
#665FB8 #B85F85 #B1B85F #5FB893
square
#665FB8 #B85F85 #B1B85F #5FB893
split-complementary
#665FB8 #B8935F #85B85F
monochromatic
#35306C #4A4397 #665FB8 #8F89CB #B7B4DE

Accessibility & contrast

On white

5.39
#665FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#665FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FB8
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FB8#FFFFFF#000000##FFFFFF
##665FB81.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBB
Deuteranopia (green-blind)
#3767B6
Tritanopia (blue-blind)
#4C7283
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665fb8;
/* rgb */ color: rgb(102, 95, 184);
/* oklch */ color: oklch(53.5% 0.136 284.4);
Tailwind
colors: {
  custom: {
    50: '#968cce',
    500: '#665fb8',
    950: '#000000',
  },
}
SCSS
$custom: #665fb8;
$custom-light: #968cce;
$custom-dark: #000000;
JSON
{
  "hex": "#665fb8",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 244.719,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53524,
    "c": 0.13571,
    "h": 284.4
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#665FB8
secondary
#C9CCA7
accent
#CE59C5
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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