#665BD4#665BD4

#665BD4 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.7% C 0.180 H 282.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#665BD4
RGBrgb(102, 91, 212)
HSLhsl(245, 58%, 59%)
HSVhsv(245, 57%, 83%)
CMYKcmyk(51.9%, 57.1%, 0%, 16.9%)
CIE-LABlab(45.72, 36.74, -61.19)
CIE-LCHlch(45.72, 71.37, 300.98°)
OKLaboklab(54.71% 0.0398 -0.1751)
OKLCHoklch(54.71% 0.18 282.8)
XYZxyz(21.1006, 15.0592, 64.0695)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BD4 #C9D45B
analogous
#5B8CD4 #665BD4 #A35BD4
triadic
#665BD4 #D4665B #5BD466
tetradic
#665BD4 #D45B8C #C9D45B #5BD4A3
square
#665BD4 #D45B8C #C9D45B #5BD4A3
split-complementary
#665BD4 #D4A35B #8CD45B
monochromatic
#2F268F #3F32C0 #665BD4 #938BE1 #C0BCED

Accessibility & contrast

On white

5.23
#665BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#665BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BD4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BD4#FFFFFF#000000##FFFFFF
##665BD41.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#39778F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665bd4;
/* rgb */ color: rgb(102, 91, 212);
/* oklch */ color: oklch(54.7% 0.180 282.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ae2',
    500: '#665bd4',
    950: '#000000',
  },
}
SCSS
$custom: #665bd4;
$custom-light: #9a8ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#665bd4",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 245.455,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.1796,
    "h": 282.8
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#665BD4
secondary
#D9DDAE
accent
#E246D4
background
#FAF8FD
surface
#F3F0FB
border
#CDCBD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #665BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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