#6657DD#6657DD

#6657DD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.7% C 0.196 H 282.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6657DD
RGBrgb(102, 87, 221)
HSLhsl(247, 66%, 60%)
HSVhsv(247, 61%, 87%)
CMYKcmyk(53.8%, 60.6%, 0%, 13.3%)
CIE-LABlab(45.44, 41.85, -66.77)
CIE-LCHlch(45.44, 78.80, 302.08°)
OKLaboklab(54.71% 0.0436 -0.1915)
OKLCHoklch(54.71% 0.196 282.8)
XYZxyz(21.9348, 14.8603, 70.1051)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6657DD #CEDD57
analogous
#578BDD #6657DD #A957DD
triadic
#6657DD #DD6657 #57DD66
tetradic
#6657DD #DD578B #CEDD57 #57DDA9
square
#6657DD #DD578B #CEDD57 #57DDA9
split-complementary
#6657DD #DDA957 #8BDD57
monochromatic
#2D1F9A #3C2ACD #6657DD #948AE7 #C3BDF2

Accessibility & contrast

On white

5.29
#6657DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6657DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6657DD
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6657DD#FFFFFF#000000##FFFFFF
##6657DD1.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)
#0070E1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#317792
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6657dd;
/* rgb */ color: rgb(102, 87, 221);
/* oklch */ color: oklch(54.7% 0.196 282.8);
Tailwind
colors: {
  custom: {
    50: '#9b87e8',
    500: '#6657dd',
    950: '#000000',
  },
}
SCSS
$custom: #6657dd;
$custom-light: #9b87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6657dd",
  "rgb": {
    "r": 102,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 246.716,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54708,
    "c": 0.19646,
    "h": 282.8
  },
  "luminance": 0.14862
}

Semantic roles & 50–950 ramp

primary
#6657DD
secondary
#DCE1AE
accent
#CE17BA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6657DD

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

Preview Lab → · Contrast checker → · Palette generator →

#6657DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva