#665ACE#665ACE

#665ACE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.173 H 283.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#665ACE
RGBrgb(102, 90, 206)
HSLhsl(246, 54%, 58%)
HSVhsv(246, 56%, 81%)
CMYKcmyk(50.5%, 56.3%, 0%, 19.2%)
CIE-LABlab(45.07, 35.51, -58.79)
CIE-LCHlch(45.07, 68.68, 301.13°)
OKLaboklab(54.1% 0.0409 -0.1681)
OKLCHoklch(54.1% 0.173 283.7)
XYZxyz(20.2729, 14.5923, 60.1289)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665ACE #C2CE5A
analogous
#5A88CE #665ACE #A05ACE
triadic
#665ACE #CE665A #5ACE66
tetradic
#665ACE #CE5A88 #C2CE5A #5ACEA0
square
#665ACE #CE5A88 #C2CE5A #5ACEA0
split-complementary
#665ACE #CEA05A #88CE5A
monochromatic
#312886 #4336B5 #665ACE #9289DC #BEB8EA

Accessibility & contrast

On white

5.36
#665ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#665ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665ACE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665ACE#FFFFFF#000000##FFFFFF
##665ACE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ED2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#3E748B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665ace;
/* rgb */ color: rgb(102, 90, 206);
/* oklch */ color: oklch(54.1% 0.173 283.7);
Tailwind
colors: {
  custom: {
    50: '#9989de',
    500: '#665ace',
    950: '#000000',
  },
}
SCSS
$custom: #665ace;
$custom-light: #9989de;
$custom-dark: #000000;
JSON
{
  "hex": "#665ace",
  "rgb": {
    "r": 102,
    "g": 90,
    "b": 206
  },
  "hsl": {
    "h": 246.207,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54099,
    "c": 0.17298,
    "h": 283.7
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#665ACE
secondary
#D4D9AB
accent
#DE4ACE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #665ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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