#665CEF#665CEF

#665CEF is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.9% C 0.213 H 280.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#665CEF
RGBrgb(102, 92, 239)
HSLhsl(244, 82%, 65%)
HSVhsv(244, 62%, 94%)
CMYKcmyk(57.3%, 61.5%, 0%, 6.3%)
CIE-LABlab(47.89, 44.46, -72.95)
CIE-LCHlch(47.89, 85.43, 301.36°)
OKLaboklab(56.92% 0.0379 -0.2097)
OKLCHoklch(56.92% 0.213 280.2)
XYZxyz(24.8817, 16.7094, 83.5587)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665CEF #E5EF5C
analogous
#5C9BEF #665CEF #B05CEF
triadic
#665CEF #EF665C #5CEF66
tetradic
#665CEF #EF5C9B #E5EF5C #5CEFB0
square
#665CEF #EF5C9B #E5EF5C #5CEFB0
split-complementary
#665CEF #EFB05C #9BEF5C
monochromatic
#1E13BE #3224EA #665CEF #9A94F4 #CFCBFA

Accessibility & contrast

On white

4.84
#665CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#665CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665CEF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665CEF#FFFFFF#000000##FFFFFF
##665CEF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#0E809D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #665cef;
/* rgb */ color: rgb(102, 92, 239);
/* oklch */ color: oklch(56.9% 0.213 280.2);
Tailwind
colors: {
  custom: {
    50: '#9e8bf5',
    500: '#665cef',
    950: '#000000',
  },
}
SCSS
$custom: #665cef;
$custom-light: #9e8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#665cef",
  "rgb": {
    "r": 102,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 244.082,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56921,
    "c": 0.21311,
    "h": 280.2
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#665CEF
secondary
#E9ECBA
accent
#DF07D0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #665CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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