#665EBA#665EBA

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

Color values

HEX#665EBA
RGBrgb(102, 94, 186)
HSLhsl(245, 40%, 55%)
HSVhsv(245, 49%, 73%)
CMYKcmyk(45.2%, 49.5%, 0%, 27.1%)
CIE-LABlab(44.77, 27.02, -47.71)
CIE-LCHlch(44.77, 54.83, 299.52°)
OKLaboklab(53.46% 0.0352 -0.1355)
OKLCHoklch(53.46% 0.14 284.6)
XYZxyz(18.3425, 14.3746, 48.2529)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665EBA #B2BA5E
analogous
#5E84BA #665EBA #945EBA
triadic
#665EBA #BA665E #5EBA66
tetradic
#665EBA #BA5E84 #B2BA5E #5EBA94
square
#665EBA #BA5E84 #B2BA5E #5EBA94
split-complementary
#665EBA #BA945E #84BA5E
monochromatic
#352F6E #494299 #665EBA #8F89CC #B7B4DF

Accessibility & contrast

On white

5.42
#665EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#665EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665EBA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665EBA#FFFFFF#000000##FFFFFF
##665EBA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#4B7183
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #665eba;
/* rgb */ color: rgb(102, 94, 186);
/* oklch */ color: oklch(53.5% 0.140 284.6);
Tailwind
colors: {
  custom: {
    50: '#968bcf',
    500: '#665eba',
    950: '#000000',
  },
}
SCSS
$custom: #665eba;
$custom-light: #968bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#665eba",
  "rgb": {
    "r": 102,
    "g": 94,
    "b": 186
  },
  "hsl": {
    "h": 245.217,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.13999,
    "h": 284.6
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#665EBA
secondary
#CACDA7
accent
#D058C5
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #665EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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