#665EB4#665EB4

#665EB4 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.1% C 0.132 H 285.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#665EB4
RGBrgb(102, 94, 180)
HSLhsl(246, 36%, 54%)
HSVhsv(246, 48%, 71%)
CMYKcmyk(43.3%, 47.8%, 0%, 29.4%)
CIE-LABlab(44.41, 25.23, -44.78)
CIE-LCHlch(44.41, 51.40, 299.40°)
OKLaboklab(53.08% 0.0345 -0.1269)
OKLCHoklch(53.08% 0.132 285.2)
XYZxyz(17.7180, 14.1248, 44.9640)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EB4 #ACB45E
analogous
#5E81B4 #665EB4 #915EB4
triadic
#665EB4 #B4665E #5EB466
tetradic
#665EB4 #B45E81 #ACB45E #5EB491
square
#665EB4 #B45E81 #ACB45E #5EB491
split-complementary
#665EB4 #B4915E #81B45E
monochromatic
#353067 #4B4491 #665EB4 #8E88C7 #B5B1DB

Accessibility & contrast

On white

5.49
#665EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#665EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EB4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EB4#FFFFFF#000000##FFFFFF
##665EB41.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB7
Deuteranopia (green-blind)
#3966B2
Tritanopia (blue-blind)
#4E7080
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665eb4;
/* rgb */ color: rgb(102, 94, 180);
/* oklch */ color: oklch(53.1% 0.132 285.2);
Tailwind
colors: {
  custom: {
    50: '#968bcb',
    500: '#665eb4',
    950: '#000000',
  },
}
SCSS
$custom: #665eb4;
$custom-light: #968bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#665eb4",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 180
  },
  "hsl": {
    "h": 245.581,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53082,
    "c": 0.1315,
    "h": 285.2
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#665EB4
secondary
#C6C9A5
accent
#CC5BC2
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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