#665DBA#665DBA

#665DBA is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.141 H 284.9°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#665DBA
RGBrgb(102, 93, 186)
HSLhsl(246, 40%, 55%)
HSVhsv(246, 50%, 73%)
CMYKcmyk(45.2%, 50%, 0%, 27.1%)
CIE-LABlab(44.52, 27.63, -48.11)
CIE-LCHlch(44.52, 55.49, 299.87°)
OKLaboklab(53.27% 0.0364 -0.1367)
OKLCHoklch(53.27% 0.141 284.9)
XYZxyz(18.2542, 14.1979, 48.2235)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665DBA #B1BA5D
analogous
#5D83BA #665DBA #945DBA
triadic
#665DBA #BA665D #5DBA66
tetradic
#665DBA #BA5D83 #B1BA5D #5DBA94
square
#665DBA #BA5D83 #B1BA5D #5DBA94
split-complementary
#665DBA #BA945D #83BA5D
monochromatic
#352F6E #4A4199 #665DBA #8F88CC #B7B3DF

Accessibility & contrast

On white

5.47
#665DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#665DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665DBA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665DBA#FFFFFF#000000##FFFFFF
##665DBA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBD
Deuteranopia (green-blind)
#3166B8
Tritanopia (blue-blind)
#4B7183
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #665dba;
/* rgb */ color: rgb(102, 93, 186);
/* oklch */ color: oklch(53.3% 0.141 284.9);
Tailwind
colors: {
  custom: {
    50: '#968bcf',
    500: '#665dba',
    950: '#000000',
  },
}
SCSS
$custom: #665dba;
$custom-light: #968bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#665dba",
  "rgb": {
    "r": 102,
    "g": 93,
    "b": 186
  },
  "hsl": {
    "h": 245.806,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53275,
    "c": 0.14145,
    "h": 284.9
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#665DBA
secondary
#C9CDA6
accent
#D058C4
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #665DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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