#665BB5#665BB5

#665BB5 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.6% C 0.137 H 286.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#665BB5
RGBrgb(102, 91, 181)
HSLhsl(247, 38%, 53%)
HSVhsv(247, 50%, 71%)
CMYKcmyk(43.6%, 49.7%, 0%, 29%)
CIE-LABlab(43.72, 27.37, -46.47)
CIE-LCHlch(43.72, 53.93, 300.50°)
OKLaboklab(52.58% 0.0384 -0.1319)
OKLCHoklch(52.58% 0.137 286.3)
XYZxyz(17.5587, 13.6425, 45.4152)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BB5 #AAB55B
analogous
#5B7DB5 #665BB5 #935BB5
triadic
#665BB5 #B5665B #5BB566
tetradic
#665BB5 #B55B7D #AAB55B #5BB593
square
#665BB5 #B55B7D #AAB55B #5BB593
split-complementary
#665BB5 #B5935B #7DB55B
monochromatic
#352F67 #4B4291 #665BB5 #8D85C8 #B5AFDB

Accessibility & contrast

On white

5.63
#665BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#665BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BB5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BB5#FFFFFF#000000##FFFFFF
##665BB51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356AB8
Deuteranopia (green-blind)
#3365B3
Tritanopia (blue-blind)
#4E6E7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665bb5;
/* rgb */ color: rgb(102, 91, 181);
/* oklch */ color: oklch(52.6% 0.137 286.3);
Tailwind
colors: {
  custom: {
    50: '#9689cc',
    500: '#665bb5',
    950: '#000000',
  },
}
SCSS
$custom: #665bb5;
$custom-light: #9689cc;
$custom-dark: #000000;
JSON
{
  "hex": "#665bb5",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 247.333,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52578,
    "c": 0.13736,
    "h": 286.3
  },
  "luminance": 0.13643
}

Semantic roles & 50–950 ramp

primary
#665BB5
secondary
#C5C9A3
accent
#CE5AC0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #665BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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