#665EDF#665EDF

#665EDF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.0% C 0.190 H 281.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#665EDF
RGBrgb(102, 94, 223)
HSLhsl(244, 67%, 62%)
HSVhsv(244, 58%, 87%)
CMYKcmyk(54.3%, 57.8%, 0%, 12.5%)
CIE-LABlab(47.18, 38.34, -65.08)
CIE-LCHlch(47.18, 75.53, 300.50°)
OKLaboklab(56.03% 0.0367 -0.1866)
OKLCHoklch(56.03% 0.19 281.1)
XYZxyz(22.7973, 16.1565, 71.7150)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EDF #D7DF5E
analogous
#5E97DF #665EDF #A75EDF
triadic
#665EDF #DF665E #5EDF66
tetradic
#665EDF #DF5E97 #D7DF5E #5EDFA7
square
#665EDF #DF5E97 #D7DF5E #5EDFA7
split-complementary
#665EDF #DFA75E #97DF5E
monochromatic
#2820A2 #352BD5 #665EDF #9791E9 #C7C4F3

Accessibility & contrast

On white

4.96
#665EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#665EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EDF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EDF#FFFFFF#000000##FFFFFF
##665EDF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #665edf;
/* rgb */ color: rgb(102, 94, 223);
/* oklch */ color: oklch(56.0% 0.190 281.1);
Tailwind
colors: {
  custom: {
    50: '#9b8cea',
    500: '#665edf',
    950: '#000000',
  },
}
SCSS
$custom: #665edf;
$custom-light: #9b8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#665edf",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 243.721,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56031,
    "c": 0.19014,
    "h": 281.1
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#665EDF
secondary
#E1E4B5
accent
#CF17C3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #665EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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