#665DA2#665DA2

#665DA2 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.8% C 0.107 H 288.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#665DA2
RGBrgb(102, 93, 162)
HSLhsl(248, 27%, 50%)
HSVhsv(248, 43%, 64%)
CMYKcmyk(37%, 42.6%, 0%, 36.5%)
CIE-LABlab(43.15, 20.60, -36.17)
CIE-LCHlch(43.15, 41.63, 299.66°)
OKLaboklab(51.81% 0.0332 -0.1017)
OKLCHoklch(51.81% 0.107 288)
XYZxyz(15.9137, 13.2617, 35.8967)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DA2 #99A25D
analogous
#5D77A2 #665DA2 #885DA2
triadic
#665DA2 #A2665D #5DA266
tetradic
#665DA2 #A25D77 #99A25D #5DA288
square
#665DA2 #A25D77 #99A25D #5DA288
split-complementary
#665DA2 #A2885D #77A25D
monochromatic
#353054 #4E477B #665DA2 #8B84B8 #AFABCF

Accessibility & contrast

On white

5.75
#665DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#665DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DA2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DA2#FFFFFF#000000##FFFFFF
##665DA21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4668A5
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#566A77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #665da2;
/* rgb */ color: rgb(102, 93, 162);
/* oklch */ color: oklch(51.8% 0.107 288.0);
Tailwind
colors: {
  custom: {
    50: '#948bbe',
    500: '#665da2',
    950: '#000000',
  },
}
SCSS
$custom: #665da2;
$custom-light: #948bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#665da2",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 247.826,
    "s": 27.059,
    "l": 50
  },
  "oklch": {
    "l": 0.51806,
    "c": 0.10699,
    "h": 288
  },
  "luminance": 0.13262
}

Semantic roles & 50–950 ramp

primary
#665DA2
secondary
#B9BD9E
accent
#C364B7
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #665DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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