#665EB0#665EB0

#665EB0 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.8% C 0.126 H 285.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#665EB0
RGBrgb(102, 94, 176)
HSLhsl(246, 34%, 53%)
HSVhsv(246, 47%, 69%)
CMYKcmyk(42%, 46.6%, 0%, 31%)
CIE-LABlab(44.18, 24.05, -42.80)
CIE-LCHlch(44.18, 49.09, 299.33°)
OKLaboklab(52.83% 0.034 -0.1211)
OKLCHoklch(52.83% 0.126 285.7)
XYZxyz(17.3164, 13.9641, 42.8488)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EB0 #A8B05E
analogous
#5E7FB0 #665EB0 #8F5EB0
triadic
#665EB0 #B0665E #5EB066
tetradic
#665EB0 #B05E7F #A8B05E #5EB08F
square
#665EB0 #B05E7F #A8B05E #5EB08F
split-complementary
#665EB0 #B08F5E #7FB05E
monochromatic
#363163 #4C458C #665EB0 #8D87C4 #B4B0D8

Accessibility & contrast

On white

5.54
#665EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#665EB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EB0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EB0#FFFFFF#000000##FFFFFF
##665EB01.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB3
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#506F7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665eb0;
/* rgb */ color: rgb(102, 94, 176);
/* oklch */ color: oklch(52.8% 0.126 285.7);
Tailwind
colors: {
  custom: {
    50: '#958bc8',
    500: '#665eb0',
    950: '#000000',
  },
}
SCSS
$custom: #665eb0;
$custom-light: #958bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#665eb0",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 176
  },
  "hsl": {
    "h": 245.854,
    "s": 34.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.12578,
    "h": 285.7
  },
  "luminance": 0.13965
}

Semantic roles & 50–950 ramp

primary
#665EB0
secondary
#C3C7A3
accent
#CA5EC0
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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