#665FCA#665FCA

#665FCA is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.161 H 282.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#665FCA
RGBrgb(102, 95, 202)
HSLhsl(244, 50%, 58%)
HSVhsv(244, 53%, 79%)
CMYKcmyk(49.5%, 53%, 0%, 20.8%)
CIE-LABlab(46.01, 31.26, -54.99)
CIE-LCHlch(46.01, 63.25, 299.62°)
OKLaboklab(54.71% 0.0352 -0.1569)
OKLCHoklch(54.71% 0.161 282.6)
XYZxyz(20.2292, 15.2724, 57.7476)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FCA #C3CA5F
analogous
#5F8DCA #665FCA #9B5FCA
triadic
#665FCA #CA665F #5FCA66
tetradic
#665FCA #CA5F8D #C3CA5F #5FCA9B
square
#665FCA #CA5F8D #C3CA5F #5FCA9B
split-complementary
#665FCA #CA9B5F #8DCA5F
monochromatic
#312B83 #423BB1 #665FCA #928DD9 #BEBBE8

Accessibility & contrast

On white

5.18
#665FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#665FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FCA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FCA#FFFFFF#000000##FFFFFF
##665FCA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2671CE
Deuteranopia (green-blind)
#1E69C8
Tritanopia (blue-blind)
#41778B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665fca;
/* rgb */ color: rgb(102, 95, 202);
/* oklch */ color: oklch(54.7% 0.161 282.6);
Tailwind
colors: {
  custom: {
    50: '#988cdb',
    500: '#665fca',
    950: '#000000',
  },
}
SCSS
$custom: #665fca;
$custom-light: #988cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#665fca",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 243.925,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5471,
    "c": 0.16076,
    "h": 282.6
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#665FCA
secondary
#D5D8AD
accent
#DA4ED1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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