#6658DF#6658DF

#6658DF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 55.0% C 0.198 H 282.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6658DF
RGBrgb(102, 88, 223)
HSLhsl(246, 68%, 61%)
HSVhsv(246, 61%, 87%)
CMYKcmyk(54.3%, 60.5%, 0%, 12.5%)
CIE-LABlab(45.81, 41.88, -67.30)
CIE-LCHlch(45.81, 79.27, 301.89°)
OKLaboklab(55.03% 0.0426 -0.1931)
OKLCHoklch(55.03% 0.198 282.4)
XYZxyz(22.2844, 15.1306, 71.5440)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6658DF #D1DF58
analogous
#588DDF #6658DF #A958DF
triadic
#6658DF #DF6658 #58DF66
tetradic
#6658DF #DF588D #D1DF58 #58DFA9
square
#6658DF #DF588D #D1DF58 #58DFA9
split-complementary
#6658DF #DFA958 #8DDF58
monochromatic
#2C1E9E #3A28D2 #6658DF #958BE9 #C4BFF3

Accessibility & contrast

On white

5.22
#6658DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6658DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6658DF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6658DF#FFFFFF#000000##FFFFFF
##6658DF1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#2E7893
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6658df;
/* rgb */ color: rgb(102, 88, 223);
/* oklch */ color: oklch(55.0% 0.198 282.4);
Tailwind
colors: {
  custom: {
    50: '#9c88ea',
    500: '#6658df',
    950: '#000000',
  },
}
SCSS
$custom: #6658df;
$custom-light: #9c88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6658df",
  "rgb": {
    "r": 102,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 246.222,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55026,
    "c": 0.19775,
    "h": 282.4
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#6658DF
secondary
#DEE3B0
accent
#D016BC
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6658DF

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

Preview Lab → · Contrast checker → · Palette generator →

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