#665EBB#665EBB

#665EBB is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.141 H 284.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#665EBB
RGBrgb(102, 94, 187)
HSLhsl(245, 41%, 55%)
HSVhsv(245, 50%, 73%)
CMYKcmyk(45.5%, 49.7%, 0%, 26.7%)
CIE-LABlab(44.83, 27.32, -48.20)
CIE-LCHlch(44.83, 55.41, 299.55°)
OKLaboklab(53.53% 0.0353 -0.1369)
OKLCHoklch(53.53% 0.141 284.4)
XYZxyz(18.4492, 14.4172, 48.8148)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EBB #B3BB5E
analogous
#5E85BB #665EBB #945EBB
triadic
#665EBB #BB665E #5EBB66
tetradic
#665EBB #BB5E85 #B3BB5E #5EBB94
square
#665EBB #BB5E85 #B3BB5E #5EBB94
split-complementary
#665EBB #BB945E #85BB5E
monochromatic
#352F70 #49419B #665EBB #8F89CD #B8B4DF

Accessibility & contrast

On white

5.41
#665EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#665EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EBB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EBB#FFFFFF#000000##FFFFFF
##665EBB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#4A7284
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665ebb;
/* rgb */ color: rgb(102, 94, 187);
/* oklch */ color: oklch(53.5% 0.141 284.4);
Tailwind
colors: {
  custom: {
    50: '#978bd0',
    500: '#665ebb',
    950: '#000000',
  },
}
SCSS
$custom: #665ebb;
$custom-light: #978bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#665ebb",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 245.161,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53527,
    "c": 0.14139,
    "h": 284.4
  },
  "luminance": 0.14418
}

Semantic roles & 50–950 ramp

primary
#665EBB
secondary
#CBCEA7
accent
#D057C6
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #665EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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