#665EB5#665EB5

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

Color values

HEX#665EB5
RGBrgb(102, 94, 181)
HSLhsl(246, 37%, 54%)
HSVhsv(246, 48%, 71%)
CMYKcmyk(43.6%, 48.1%, 0%, 29%)
CIE-LABlab(44.47, 25.53, -45.27)
CIE-LCHlch(44.47, 51.97, 299.42°)
OKLaboklab(53.14% 0.0347 -0.1283)
OKLCHoklch(53.14% 0.133 285.1)
XYZxyz(17.8203, 14.1657, 45.5024)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EB5 #ADB55E
analogous
#5E82B5 #665EB5 #925EB5
triadic
#665EB5 #B5665E #5EB566
tetradic
#665EB5 #B55E82 #ADB55E #5EB592
square
#665EB5 #B55E82 #ADB55E #5EB592
split-complementary
#665EB5 #B5925E #82B55E
monochromatic
#353069 #4B4392 #665EB5 #8E88C8 #B6B2DC

Accessibility & contrast

On white

5.48
#665EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#665EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EB5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EB5#FFFFFF#000000##FFFFFF
##665EB51.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#3867B3
Tritanopia (blue-blind)
#4E7081
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665eb5;
/* rgb */ color: rgb(102, 94, 181);
/* oklch */ color: oklch(53.1% 0.133 285.1);
Tailwind
colors: {
  custom: {
    50: '#968bcc',
    500: '#665eb5',
    950: '#000000',
  },
}
SCSS
$custom: #665eb5;
$custom-light: #968bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#665eb5",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 245.517,
    "s": 37.021,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53144,
    "c": 0.13293,
    "h": 285.1
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#665EB5
secondary
#C7CAA5
accent
#CD5BC3
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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