#6658CD#6658CD

#6658CD is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.7% C 0.174 H 284.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6658CD
RGBrgb(102, 88, 205)
HSLhsl(247, 54%, 57%)
HSVhsv(247, 57%, 80%)
CMYKcmyk(50.2%, 57.1%, 0%, 19.6%)
CIE-LABlab(44.53, 36.40, -59.08)
CIE-LCHlch(44.53, 69.40, 301.64°)
OKLaboklab(53.68% 0.0431 -0.1689)
OKLCHoklch(53.68% 0.174 284.3)
XYZxyz(19.9854, 14.2110, 59.4357)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658CD #BFCD58
analogous
#5885CD #6658CD #A058CD
triadic
#6658CD #CD6658 #58CD66
tetradic
#6658CD #CD5885 #BFCD58 #58CDA0
square
#6658CD #CD5885 #BFCD58 #58CDA0
split-complementary
#6658CD #CDA058 #85CD58
monochromatic
#322783 #4435B2 #6658CD #9187DB #BCB6E9

Accessibility & contrast

On white

5.47
#6658CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6658CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658CD#FFFFFF#000000##FFFFFF
##6658CD1.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)
#006DD1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#3F738A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6658cd;
/* rgb */ color: rgb(102, 88, 205);
/* oklch */ color: oklch(53.7% 0.174 284.3);
Tailwind
colors: {
  custom: {
    50: '#9987dd',
    500: '#6658cd',
    950: '#000000',
  },
}
SCSS
$custom: #6658cd;
$custom-light: #9987dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6658cd",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 247.179,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.17435,
    "h": 284.3
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#6658CD
secondary
#D2D8A9
accent
#DD4BCC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6658CD

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

Preview Lab → · Contrast checker → · Palette generator →

#6658CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva