#665DB1#665DB1

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

Color values

HEX#665DB1
RGBrgb(102, 93, 177)
HSLhsl(246, 35%, 53%)
HSVhsv(246, 47%, 69%)
CMYKcmyk(42.4%, 47.5%, 0%, 30.6%)
CIE-LABlab(43.98, 24.96, -43.70)
CIE-LCHlch(43.98, 50.33, 299.73°)
OKLaboklab(52.7% 0.0355 -0.1237)
OKLCHoklch(52.7% 0.129 286)
XYZxyz(17.3274, 13.8272, 43.3424)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DB1 #A8B15D
analogous
#5D7EB1 #665DB1 #905DB1
triadic
#665DB1 #B1665D #5DB166
tetradic
#665DB1 #B15D7E #A8B15D #5DB190
square
#665DB1 #B15D7E #A8B15D #5DB190
split-complementary
#665DB1 #B1905D #7EB15D
monochromatic
#363064 #4C448D #665DB1 #8D86C5 #B4B0D9

Accessibility & contrast

On white

5.58
#665DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#665DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DB1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DB1#FFFFFF#000000##FFFFFF
##665DB11.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#3A66AF
Tritanopia (blue-blind)
#506E7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665db1;
/* rgb */ color: rgb(102, 93, 177);
/* oklch */ color: oklch(52.7% 0.129 286.0);
Tailwind
colors: {
  custom: {
    50: '#968bc9',
    500: '#665db1',
    950: '#000000',
  },
}
SCSS
$custom: #665db1;
$custom-light: #968bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#665db1",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 246.429,
    "s": 35,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.12872,
    "h": 286
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#665DB1
secondary
#C3C7A3
accent
#CB5DBF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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