#665FC4#665FC4

#665FC4 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.3% C 0.153 H 283.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#665FC4
RGBrgb(102, 95, 196)
HSLhsl(244, 46%, 57%)
HSVhsv(244, 52%, 77%)
CMYKcmyk(48%, 51.5%, 0%, 23.1%)
CIE-LABlab(45.63, 29.43, -52.14)
CIE-LCHlch(45.63, 59.87, 299.45°)
OKLaboklab(54.31% 0.0348 -0.1485)
OKLCHoklch(54.31% 0.153 283.2)
XYZxyz(19.5325, 14.9938, 54.0787)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FC4 #BDC45F
analogous
#5F8BC4 #665FC4 #985FC4
triadic
#665FC4 #C4665F #5FC466
tetradic
#665FC4 #C45F8B #BDC45F #5FC498
square
#665FC4 #C45F8B #BDC45F #5FC498
split-complementary
#665FC4 #C4985F #8BC45F
monochromatic
#332D7B #453EA8 #665FC4 #918CD4 #BCB8E5

Accessibility & contrast

On white

5.25
#665FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#665FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FC4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FC4#FFFFFF#000000##FFFFFF
##665FC41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6FC8
Deuteranopia (green-blind)
#2869C2
Tritanopia (blue-blind)
#457588
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665fc4;
/* rgb */ color: rgb(102, 95, 196);
/* oklch */ color: oklch(54.3% 0.153 283.2);
Tailwind
colors: {
  custom: {
    50: '#988cd6',
    500: '#665fc4',
    950: '#000000',
  },
}
SCSS
$custom: #665fc4;
$custom-light: #988cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#665fc4",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 196
  },
  "hsl": {
    "h": 244.158,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.15251,
    "h": 283.2
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#665FC4
secondary
#D1D4AB
accent
#D652CD
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #665FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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