#665CBA#665CBA

#665CBA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.143 H 285.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#665CBA
RGBrgb(102, 92, 186)
HSLhsl(246, 41%, 55%)
HSVhsv(246, 51%, 73%)
CMYKcmyk(45.2%, 50.5%, 0%, 27.1%)
CIE-LABlab(44.27, 28.25, -48.51)
CIE-LCHlch(44.27, 56.14, 300.21°)
OKLaboklab(53.09% 0.0377 -0.1378)
OKLCHoklch(53.09% 0.143 285.3)
XYZxyz(18.1670, 14.0235, 48.1944)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CBA #B0BA5C
analogous
#5C81BA #665CBA #955CBA
triadic
#665CBA #BA665C #5CBA66
tetradic
#665CBA #BA5C81 #B0BA5C #5CBA95
square
#665CBA #BA5C81 #B0BA5C #5CBA95
split-complementary
#665CBA #BA955C #81BA5C
monochromatic
#352E6D #4A4098 #665CBA #8E87CC #B7B2DE

Accessibility & contrast

On white

5.52
#665CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#665CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CBA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CBA#FFFFFF#000000##FFFFFF
##665CBA1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#4B7082
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665cba;
/* rgb */ color: rgb(102, 92, 186);
/* oklch */ color: oklch(53.1% 0.143 285.3);
Tailwind
colors: {
  custom: {
    50: '#978acf',
    500: '#665cba',
    950: '#000000',
  },
}
SCSS
$custom: #665cba;
$custom-light: #978acf;
$custom-dark: #000000;
JSON
{
  "hex": "#665cba",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 186
  },
  "hsl": {
    "h": 246.383,
    "s": 40.517,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.1429,
    "h": 285.3
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#665CBA
secondary
#C9CDA5
accent
#D057C4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #665CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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