#665CCF#665CCF

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

Color values

HEX#665CCF
RGBrgb(102, 92, 207)
HSLhsl(245, 55%, 59%)
HSVhsv(245, 56%, 81%)
CMYKcmyk(50.7%, 55.6%, 0%, 18.8%)
CIE-LABlab(45.61, 34.61, -58.49)
CIE-LCHlch(45.61, 67.97, 300.61°)
OKLaboklab(54.52% 0.0387 -0.1672)
OKLCHoklch(54.52% 0.172 283)
XYZxyz(20.5657, 14.9830, 60.8277)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CCF #C5CF5C
analogous
#5C8BCF #665CCF #9F5CCF
triadic
#665CCF #CF665C #5CCF66
tetradic
#665CCF #CF5C8B #C5CF5C #5CCF9F
square
#665CCF #CF5C8B #C5CF5C #5CCF9F
split-complementary
#665CCF #CF9F5C #8BCF5C
monochromatic
#312888 #4136B8 #665CCF #928BDD #BFBBEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##665CCF#FFFFFF#000000##FFFFFF
##665CCF1.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)
#1070D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#3D768C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #665ccf;
/* rgb */ color: rgb(102, 92, 207);
/* oklch */ color: oklch(54.5% 0.172 283.0);
Tailwind
colors: {
  custom: {
    50: '#998ade',
    500: '#665ccf',
    950: '#000000',
  },
}
SCSS
$custom: #665ccf;
$custom-light: #998ade;
$custom-dark: #000000;
JSON
{
  "hex": "#665ccf",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 245.217,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.17161,
    "h": 283
  },
  "luminance": 0.14984
}

Semantic roles & 50–950 ramp

primary
#665CCF
secondary
#D6DAAD
accent
#DE4AD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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