#665FBB#665FBB

#665FBB is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.140 H 284.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#665FBB
RGBrgb(102, 95, 187)
HSLhsl(245, 40%, 55%)
HSVhsv(245, 49%, 73%)
CMYKcmyk(45.5%, 49.2%, 0%, 26.7%)
CIE-LABlab(45.08, 26.71, -47.80)
CIE-LCHlch(45.08, 54.75, 299.20°)
OKLaboklab(53.72% 0.034 -0.1357)
OKLCHoklch(53.72% 0.14 284.1)
XYZxyz(18.5387, 14.5962, 48.8446)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FBB #B4BB5F
analogous
#5F86BB #665FBB #945FBB
triadic
#665FBB #BB665F #5FBB66
tetradic
#665FBB #BB5F86 #B4BB5F #5FBB94
square
#665FBB #BB5F86 #B4BB5F #5FBB94
split-complementary
#665FBB #BB945F #86BB5F
monochromatic
#343070 #49429B #665FBB #8F8ACD #B8B5E0

Accessibility & contrast

On white

5.36
#665FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#665FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FBB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FBB#FFFFFF#000000##FFFFFF
##665FBB1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#4A7284
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #665fbb;
/* rgb */ color: rgb(102, 95, 187);
/* oklch */ color: oklch(53.7% 0.140 284.1);
Tailwind
colors: {
  custom: {
    50: '#978cd0',
    500: '#665fbb',
    950: '#000000',
  },
}
SCSS
$custom: #665fbb;
$custom-light: #978cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#665fbb",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 244.565,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.13995,
    "h": 284.1
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#665FBB
secondary
#CBCEA8
accent
#D058C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #665FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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