#665FDF#665FDF

#665FDF is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.2% C 0.189 H 280.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#665FDF
RGBrgb(102, 95, 223)
HSLhsl(243, 67%, 62%)
HSVhsv(243, 57%, 87%)
CMYKcmyk(54.3%, 57.4%, 0%, 12.5%)
CIE-LABlab(47.41, 37.74, -64.71)
CIE-LCHlch(47.41, 74.91, 300.25°)
OKLaboklab(56.2% 0.0356 -0.1854)
OKLCHoklch(56.2% 0.189 280.9)
XYZxyz(22.8868, 16.3355, 71.7448)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FDF #D8DF5F
analogous
#5F98DF #665FDF #A65FDF
triadic
#665FDF #DF665F #5FDF66
tetradic
#665FDF #DF5F98 #D8DF5F #5FDFA6
square
#665FDF #DF5F98 #D8DF5F #5FDFA6
split-complementary
#665FDF #DFA65F #98DF5F
monochromatic
#2821A3 #352CD5 #665FDF #9792E9 #C8C5F3

Accessibility & contrast

On white

4.92
#665FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#665FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FDF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FDF#FFFFFF#000000##FFFFFF
##665FDF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#2D7D96
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #665fdf;
/* rgb */ color: rgb(102, 95, 223);
/* oklch */ color: oklch(56.2% 0.189 280.9);
Tailwind
colors: {
  custom: {
    50: '#9b8cea',
    500: '#665fdf',
    950: '#000000',
  },
}
SCSS
$custom: #665fdf;
$custom-light: #9b8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#665fdf",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 243.281,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56203,
    "c": 0.18884,
    "h": 280.9
  },
  "luminance": 0.16337
}

Semantic roles & 50–950 ramp

primary
#665FDF
secondary
#E2E4B6
accent
#CF17C5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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