#665BCE#665BCE

#665BCE is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.172 H 283.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#665BCE
RGBrgb(102, 91, 206)
HSLhsl(246, 54%, 58%)
HSVhsv(246, 56%, 81%)
CMYKcmyk(50.5%, 55.8%, 0%, 19.2%)
CIE-LABlab(45.31, 34.91, -58.41)
CIE-LCHlch(45.31, 68.05, 300.86°)
OKLaboklab(54.27% 0.0398 -0.1669)
OKLCHoklch(54.27% 0.172 283.4)
XYZxyz(20.3578, 14.7621, 60.1572)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665BCE #C3CE5B
analogous
#5B89CE #665BCE #9F5BCE
triadic
#665BCE #CE665B #5BCE66
tetradic
#665BCE #CE5B89 #C3CE5B #5BCE9F
square
#665BCE #CE5B89 #C3CE5B #5BCE9F
split-complementary
#665BCE #CE9F5B #89CE5B
monochromatic
#312886 #4236B6 #665BCE #928ADC #BEB9EA

Accessibility & contrast

On white

5.31
#665BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#665BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665BCE
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665BCE#FFFFFF#000000##FFFFFF
##665BCE1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#3E758C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665bce;
/* rgb */ color: rgb(102, 91, 206);
/* oklch */ color: oklch(54.3% 0.172 283.4);
Tailwind
colors: {
  custom: {
    50: '#998ade',
    500: '#665bce',
    950: '#000000',
  },
}
SCSS
$custom: #665bce;
$custom-light: #998ade;
$custom-dark: #000000;
JSON
{
  "hex": "#665bce",
  "rgb": {
    "r": 102,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 245.739,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54274,
    "c": 0.17163,
    "h": 283.4
  },
  "luminance": 0.14763
}

Semantic roles & 50–950 ramp

primary
#665BCE
secondary
#D5D9AB
accent
#DD4ACF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #665BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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