#665EB2#665EB2

#665EB2 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.129 H 285.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#665EB2
RGBrgb(102, 94, 178)
HSLhsl(246, 35%, 53%)
HSVhsv(246, 47%, 70%)
CMYKcmyk(42.7%, 47.2%, 0%, 30.2%)
CIE-LABlab(44.30, 24.64, -43.79)
CIE-LCHlch(44.30, 50.25, 299.36°)
OKLaboklab(52.96% 0.0343 -0.124)
OKLCHoklch(52.96% 0.129 285.5)
XYZxyz(17.5158, 14.0439, 43.8987)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EB2 #AAB25E
analogous
#5E80B2 #665EB2 #905EB2
triadic
#665EB2 #B2665E #5EB266
tetradic
#665EB2 #B25E80 #AAB25E #5EB290
square
#665EB2 #B25E80 #AAB25E #5EB290
split-complementary
#665EB2 #B2905E #80B25E
monochromatic
#353065 #4B448F #665EB2 #8D87C6 #B5B1DA

Accessibility & contrast

On white

5.51
#665EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#665EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EB2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EB2#FFFFFF#000000##FFFFFF
##665EB21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#4F6F7F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665eb2;
/* rgb */ color: rgb(102, 94, 178);
/* oklch */ color: oklch(53.0% 0.129 285.5);
Tailwind
colors: {
  custom: {
    50: '#968bc9',
    500: '#665eb2',
    950: '#000000',
  },
}
SCSS
$custom: #665eb2;
$custom-light: #968bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#665eb2",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 245.714,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.12865,
    "h": 285.5
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#665EB2
secondary
#C5C8A4
accent
#CB5CC1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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