#6659CB#6659CB

#6659CB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.7% C 0.170 H 284.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6659CB
RGBrgb(102, 89, 203)
HSLhsl(247, 52%, 57%)
HSVhsv(247, 56%, 80%)
CMYKcmyk(49.8%, 56.2%, 0%, 20.4%)
CIE-LABlab(44.63, 35.19, -57.77)
CIE-LCHlch(44.63, 67.65, 301.35°)
OKLaboklab(53.71% 0.042 -0.1651)
OKLCHoklch(53.71% 0.17 284.3)
XYZxyz(19.8281, 14.2803, 58.1999)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6659CB #BECB59
analogous
#5985CB #6659CB #9F59CB
triadic
#6659CB #CB6659 #59CB66
tetradic
#6659CB #CB5985 #BECB59 #59CB9F
square
#6659CB #CB5985 #BECB59 #59CB9F
split-complementary
#6659CB #CB9F59 #85CB59
monochromatic
#332881 #4537B0 #6659CB #9188DA #BCB6E8

Accessibility & contrast

On white

5.45
#6659CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6659CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6659CB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6659CB#FFFFFF#000000##FFFFFF
##6659CB1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#0066C9
Tritanopia (blue-blind)
#417389
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6659cb;
/* rgb */ color: rgb(102, 89, 203);
/* oklch */ color: oklch(53.7% 0.170 284.3);
Tailwind
colors: {
  custom: {
    50: '#9988dc',
    500: '#6659cb',
    950: '#000000',
  },
}
SCSS
$custom: #6659cb;
$custom-light: #9988dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6659cb",
  "rgb": {
    "r": 102,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 246.842,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5371,
    "c": 0.17034,
    "h": 284.3
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#6659CB
secondary
#D2D7A9
accent
#DC4CCB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6659CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6659CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva