#665FB2#665FB2

#665FB2 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.1% C 0.127 H 285.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#665FB2
RGBrgb(102, 95, 178)
HSLhsl(245, 35%, 54%)
HSVhsv(245, 47%, 70%)
CMYKcmyk(42.7%, 46.6%, 0%, 30.2%)
CIE-LABlab(44.55, 24.02, -43.39)
CIE-LCHlch(44.55, 49.59, 298.97°)
OKLaboklab(53.15% 0.033 -0.1228)
OKLCHoklch(53.15% 0.127 285)
XYZxyz(17.6053, 14.2229, 43.9285)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FB2 #ABB25F
analogous
#5F81B2 #665FB2 #8F5FB2
triadic
#665FB2 #B2665F #5FB266
tetradic
#665FB2 #B25F81 #ABB25F #5FB28F
square
#665FB2 #B25F81 #ABB25F #5FB28F
split-complementary
#665FB2 #B28F5F #81B25F
monochromatic
#353166 #4B458F #665FB2 #8E88C6 #B5B2DA

Accessibility & contrast

On white

5.46
#665FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#665FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FB2#FFFFFF#000000##FFFFFF
##665FB21.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#3C67B0
Tritanopia (blue-blind)
#4F7080
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665fb2;
/* rgb */ color: rgb(102, 95, 178);
/* oklch */ color: oklch(53.1% 0.127 285.0);
Tailwind
colors: {
  custom: {
    50: '#968cc9',
    500: '#665fb2',
    950: '#000000',
  },
}
SCSS
$custom: #665fb2;
$custom-light: #968cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#665fb2",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 245.06,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.12716,
    "h": 285
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#665FB2
secondary
#C5C8A5
accent
#CB5DC2
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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