#665EBC#665EBC

#665EBC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.6% C 0.143 H 284.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#665EBC
RGBrgb(102, 94, 188)
HSLhsl(245, 41%, 55%)
HSVhsv(245, 50%, 74%)
CMYKcmyk(45.7%, 50%, 0%, 26.3%)
CIE-LABlab(44.89, 27.62, -48.68)
CIE-LCHlch(44.89, 55.98, 299.57°)
OKLaboklab(53.59% 0.0354 -0.1383)
OKLCHoklch(53.59% 0.143 284.3)
XYZxyz(18.5566, 14.4602, 49.3805)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EBC #B4BC5E
analogous
#5E85BC #665EBC #955EBC
triadic
#665EBC #BC665E #5EBC66
tetradic
#665EBC #BC5E85 #B4BC5E #5EBC95
square
#665EBC #BC5E85 #B4BC5E #5EBC95
split-complementary
#665EBC #BC955E #85BC5E
monochromatic
#342F71 #49419C #665EBC #8F89CE #B8B4E0

Accessibility & contrast

On white

5.40
#665EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#665EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EBC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EBC#FFFFFF#000000##FFFFFF
##665EBC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356DBF
Deuteranopia (green-blind)
#3167BA
Tritanopia (blue-blind)
#4A7284
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665ebc;
/* rgb */ color: rgb(102, 94, 188);
/* oklch */ color: oklch(53.6% 0.143 284.3);
Tailwind
colors: {
  custom: {
    50: '#978bd1',
    500: '#665ebc',
    950: '#000000',
  },
}
SCSS
$custom: #665ebc;
$custom-light: #978bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#665ebc",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 245.106,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.1428,
    "h": 284.3
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#665EBC
secondary
#CBCFA7
accent
#D157C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #665EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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