#665FB7#665FB7

#665FB7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.134 H 284.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#665FB7
RGBrgb(102, 95, 183)
HSLhsl(245, 38%, 55%)
HSVhsv(245, 48%, 72%)
CMYKcmyk(44.3%, 48.1%, 0%, 28.2%)
CIE-LABlab(44.84, 25.51, -45.85)
CIE-LCHlch(44.84, 52.47, 299.09°)
OKLaboklab(53.46% 0.0336 -0.13)
OKLCHoklch(53.46% 0.134 284.5)
XYZxyz(18.1165, 14.4273, 46.6208)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FB7 #B0B75F
analogous
#5F84B7 #665FB7 #925FB7
triadic
#665FB7 #B7665F #5FB766
tetradic
#665FB7 #B75F84 #B0B75F #5FB792
square
#665FB7 #B75F84 #B0B75F #5FB792
split-complementary
#665FB7 #B7925F #84B75F
monochromatic
#35306B #4A4396 #665FB7 #8E89CA #B7B3DD

Accessibility & contrast

On white

5.40
#665FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665FB7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FB7#FFFFFF#000000##FFFFFF
##665FB71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#3867B5
Tritanopia (blue-blind)
#4D7182
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665fb7;
/* rgb */ color: rgb(102, 95, 183);
/* oklch */ color: oklch(53.5% 0.134 284.5);
Tailwind
colors: {
  custom: {
    50: '#968ccd',
    500: '#665fb7',
    950: '#000000',
  },
}
SCSS
$custom: #665fb7;
$custom-light: #968ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#665fb7",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 183
  },
  "hsl": {
    "h": 244.773,
    "s": 37.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.1343,
    "h": 284.5
  },
  "luminance": 0.14428
}

Semantic roles & 50–950 ramp

primary
#665FB7
secondary
#C9CCA6
accent
#CE5AC5
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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