#665ABA#665ABA

#665ABA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.146 H 286.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#665ABA
RGBrgb(102, 90, 186)
HSLhsl(248, 41%, 54%)
HSVhsv(248, 52%, 73%)
CMYKcmyk(45.2%, 51.6%, 0%, 27.1%)
CIE-LABlab(43.77, 29.47, -49.30)
CIE-LCHlch(43.77, 57.44, 300.87°)
OKLaboklab(52.72% 0.0401 -0.1402)
OKLCHoklch(52.72% 0.146 286)
XYZxyz(17.9960, 13.6815, 48.1374)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ABA #AEBA5A
analogous
#5A7EBA #665ABA #965ABA
triadic
#665ABA #BA665A #5ABA66
tetradic
#665ABA #BA5A7E #AEBA5A #5ABA96
square
#665ABA #BA5A7E #AEBA5A #5ABA96
split-complementary
#665ABA #BA965A #7EBA5A
monochromatic
#352D6C #4A3F97 #665ABA #8E85CC #B6B0DE

Accessibility & contrast

On white

5.62
#665ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#665ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ABA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ABA#FFFFFF#000000##FFFFFF
##665ABA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6ABD
Deuteranopia (green-blind)
#2C65B8
Tritanopia (blue-blind)
#4B6E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #665aba;
/* rgb */ color: rgb(102, 90, 186);
/* oklch */ color: oklch(52.7% 0.146 286.0);
Tailwind
colors: {
  custom: {
    50: '#9789cf',
    500: '#665aba',
    950: '#000000',
  },
}
SCSS
$custom: #665aba;
$custom-light: #9789cf;
$custom-dark: #000000;
JSON
{
  "hex": "#665aba",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 186
  },
  "hsl": {
    "h": 247.5,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.1458,
    "h": 286
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#665ABA
secondary
#C7CCA3
accent
#D157C2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #665ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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