#665FCB#665FCB

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

Color values

HEX#665FCB
RGBrgb(102, 95, 203)
HSLhsl(244, 51%, 58%)
HSVhsv(244, 53%, 80%)
CMYKcmyk(49.8%, 53.2%, 0%, 20.4%)
CIE-LABlab(46.07, 31.57, -55.46)
CIE-LCHlch(46.07, 63.81, 299.65°)
OKLaboklab(54.78% 0.0352 -0.1582)
OKLCHoklch(54.78% 0.162 282.6)
XYZxyz(20.3479, 15.3199, 58.3732)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#665FCB #C4CB5F
analogous
#5F8ECB #665FCB #9C5FCB
triadic
#665FCB #CB665F #5FCB66
tetradic
#665FCB #CB5F8E #C4CB5F #5FCB9C
square
#665FCB #CB5F8E #C4CB5F #5FCB9C
split-complementary
#665FCB #CB9C5F #8ECB5F
monochromatic
#312B85 #423AB3 #665FCB #928DDA #BEBBE9

Accessibility & contrast

On white

5.17
#665FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#665FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #665FCB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##665FCB#FFFFFF#000000##FFFFFF
##665FCB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#1B69C9
Tritanopia (blue-blind)
#40778C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #665fcb;
/* rgb */ color: rgb(102, 95, 203);
/* oklch */ color: oklch(54.8% 0.162 282.6);
Tailwind
colors: {
  custom: {
    50: '#988cdb',
    500: '#665fcb',
    950: '#000000',
  },
}
SCSS
$custom: #665fcb;
$custom-light: #988cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#665fcb",
  "rgb": {
    "r": 102,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 243.889,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54779,
    "c": 0.16212,
    "h": 282.6
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#665FCB
secondary
#D6D8AD
accent
#DA4DD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #665FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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