#665DCF#665DCF

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

Color values

HEX#665DCF
RGBrgb(102, 93, 207)
HSLhsl(245, 54%, 59%)
HSVhsv(245, 55%, 81%)
CMYKcmyk(50.7%, 55.1%, 0%, 18.8%)
CIE-LABlab(45.85, 34.01, -58.11)
CIE-LCHlch(45.85, 67.33, 300.34°)
OKLaboklab(54.7% 0.0376 -0.1661)
OKLCHoklch(54.7% 0.17 282.8)
XYZxyz(20.6529, 15.1574, 60.8568)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DCF #C6CF5D
analogous
#5D8DCF #665DCF #9F5DCF
triadic
#665DCF #CF665D #5DCF66
tetradic
#665DCF #CF5D8D #C6CF5D #5DCF9F
square
#665DCF #CF5D8D #C6CF5D #5DCF9F
split-complementary
#665DCF #CF9F5D #8DCF5D
monochromatic
#302989 #4137B8 #665DCF #938CDD #BFBBEB

Accessibility & contrast

On white

5.21
#665DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#665DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DCF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DCF#FFFFFF#000000##FFFFFF
##665DCF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1570D3
Deuteranopia (green-blind)
#0369CD
Tritanopia (blue-blind)
#3D778D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665dcf;
/* rgb */ color: rgb(102, 93, 207);
/* oklch */ color: oklch(54.7% 0.170 282.8);
Tailwind
colors: {
  custom: {
    50: '#998bde',
    500: '#665dcf',
    950: '#000000',
  },
}
SCSS
$custom: #665dcf;
$custom-light: #998bde;
$custom-dark: #000000;
JSON
{
  "hex": "#665dcf",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 244.737,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.17027,
    "h": 282.8
  },
  "luminance": 0.15158
}

Semantic roles & 50–950 ramp

primary
#665DCF
secondary
#D7DAAD
accent
#DE4AD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #665DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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