#665EAF#665EAF

#665EAF is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.124 H 285.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#665EAF
RGBrgb(102, 94, 175)
HSLhsl(246, 34%, 53%)
HSVhsv(246, 46%, 69%)
CMYKcmyk(41.7%, 46.3%, 0%, 31.4%)
CIE-LABlab(44.12, 23.75, -42.30)
CIE-LCHlch(44.12, 48.52, 299.31°)
OKLaboklab(52.77% 0.0339 -0.1196)
OKLCHoklch(52.77% 0.124 285.8)
XYZxyz(17.2179, 13.9247, 42.3297)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EAF #A7AF5E
analogous
#5E7EAF #665EAF #8E5EAF
triadic
#665EAF #AF665E #5EAF66
tetradic
#665EAF #AF5E7E #A7AF5E #5EAF8E
square
#665EAF #AF5E7E #A7AF5E #5EAF8E
split-complementary
#665EAF #AF8E5E #7EAF5E
monochromatic
#363162 #4C458B #665EAF #8D87C3 #B4B0D8

Accessibility & contrast

On white

5.55
#665EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #665EAF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EAF#FFFFFF#000000##FFFFFF
##665EAF1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB2
Deuteranopia (green-blind)
#3D66AD
Tritanopia (blue-blind)
#516E7E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #665eaf;
/* rgb */ color: rgb(102, 94, 175);
/* oklch */ color: oklch(52.8% 0.124 285.8);
Tailwind
colors: {
  custom: {
    50: '#958bc7',
    500: '#665eaf',
    950: '#000000',
  },
}
SCSS
$custom: #665eaf;
$custom-light: #958bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#665eaf",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 245.926,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52772,
    "c": 0.12435,
    "h": 285.8
  },
  "luminance": 0.13925
}

Semantic roles & 50–950 ramp

primary
#665EAF
secondary
#C2C6A3
accent
#CA5EBF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0C13
muted
#7E7D82

Preview Lab

Preview with #665EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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