#3C3CCC#3C3CCC

#3C3CCC is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.0% C 0.215 H 274.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3C3CCC
RGBrgb(60, 60, 204)
HSLhsl(240, 59%, 52%)
HSVhsv(240, 71%, 80%)
CMYKcmyk(70.6%, 70.6%, 0%, 20%)
CIE-LABlab(35.10, 46.12, -74.02)
CIE-LCHlch(35.10, 87.21, 301.92°)
OKLaboklab(46% 0.015 -0.214)
OKLCHoklch(46% 0.215 274)
XYZxyz(14.3748, 8.5506, 58.0079)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C3CCC #CCCC3C
analogous
#3C84CC #3C3CCC #843CCC
triadic
#3C3CCC #CC3C3C #3CCC3C
tetradic
#3C3CCC #CC3C84 #CCCC3C #3CCC84
square
#3C3CCC #CC3C84 #CCCC3C #3CCC84
split-complementary
#3C3CCC #CC843C #84CC3C
monochromatic
#1D1D70 #2A2AA1 #3C3CCC #6D6DD9 #9D9DE5

Accessibility & contrast

On white

7.75
#3C3CCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3C3CCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C3CCC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C3CCC#FFFFFF#000000##FFFFFF
##3C3CCC1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#006480
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c3ccc;
/* rgb */ color: rgb(60, 60, 204);
/* oklch */ color: oklch(46.0% 0.215 274.0);
Tailwind
colors: {
  custom: {
    50: '#8673dd',
    500: '#3c3ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3c3ccc;
$custom-light: #8673dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c3ccc",
  "rgb": {
    "r": 60,
    "g": 60,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45995,
    "c": 0.21455,
    "h": 274
  },
  "luminance": 0.08552
}

Semantic roles & 50–950 ramp

primary
#3C3CCC
secondary
#D1D192
accent
#E246E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3C3CCC

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

Preview Lab → · Contrast checker → · Palette generator →

#3C3CCC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva