#6658DA#6658DA

#6658DA is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.191 H 282.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6658DA
RGBrgb(102, 88, 218)
HSLhsl(246, 64%, 60%)
HSVhsv(246, 60%, 85%)
CMYKcmyk(53.2%, 59.6%, 0%, 14.5%)
CIE-LABlab(45.45, 40.35, -65.05)
CIE-LCHlch(45.45, 76.55, 301.81°)
OKLaboklab(54.64% 0.0428 -0.1865)
OKLCHoklch(54.64% 0.191 282.9)
XYZxyz(21.6202, 14.8649, 68.0460)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658DA #CCDA58
analogous
#588BDA #6658DA #A758DA
triadic
#6658DA #DA6658 #58DA66
tetradic
#6658DA #DA588B #CCDA58 #58DAA7
square
#6658DA #DA588B #CCDA58 #58DAA7
split-complementary
#6658DA #DAA758 #8BDA58
monochromatic
#2E2196 #3D2CC8 #6658DA #948AE5 #C2BCF0

Accessibility & contrast

On white

5.29
#6658DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6658DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658DA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658DA#FFFFFF#000000##FFFFFF
##6658DA1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#347791
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6658da;
/* rgb */ color: rgb(102, 88, 218);
/* oklch */ color: oklch(54.6% 0.191 282.9);
Tailwind
colors: {
  custom: {
    50: '#9b88e6',
    500: '#6658da',
    950: '#000000',
  },
}
SCSS
$custom: #6658da;
$custom-light: #9b88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6658da",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 246.462,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.19133,
    "h": 282.9
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#6658DA
secondary
#DBE0AE
accent
#E741D5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6658DA

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

Preview Lab → · Contrast checker → · Palette generator →

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