#3C42C7#3C42C7

#3C42C7 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.5% C 0.202 H 273.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3C42C7
RGBrgb(60, 66, 199)
HSLhsl(237, 55%, 51%)
HSVhsv(237, 70%, 78%)
CMYKcmyk(69.8%, 66.8%, 0%, 22%)
CIE-LABlab(35.94, 40.89, -69.73)
CIE-LCHlch(35.94, 80.84, 300.39°)
OKLaboklab(46.46% 0.0119 -0.2015)
OKLCHoklch(46.46% 0.202 273.4)
XYZxyz(14.1171, 8.9793, 55.0110)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42C7 #C7C13C
analogous
#3C87C7 #3C42C7 #7B3CC7
triadic
#3C42C7 #C73C42 #42C73C
tetradic
#3C42C7 #C73C87 #C7C13C #3CC77B
square
#3C42C7 #C73C87 #C7C13C #3CC77B
split-complementary
#3C42C7 #C77B3C #87C73C
monochromatic
#1E226A #2C319A #3C42C7 #6C70D5 #9B9EE2

Accessibility & contrast

On white

7.51
#3C42C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3C42C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42C7
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42C7#FFFFFF#000000##FFFFFF
##3C42C71.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#004EC4
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c42c7;
/* rgb */ color: rgb(60, 66, 199);
/* oklch */ color: oklch(46.5% 0.202 273.4);
Tailwind
colors: {
  custom: {
    50: '#8477d9',
    500: '#3c42c7',
    950: '#000000',
  },
}
SCSS
$custom: #3c42c7;
$custom-light: #8477d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42c7",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 199
  },
  "hsl": {
    "h": 237.41,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.20184,
    "h": 273.4
  },
  "luminance": 0.08981
}

Semantic roles & 50–950 ramp

primary
#3C42C7
secondary
#CECC91
accent
#D849DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3C42C7

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

Preview Lab → · Contrast checker → · Palette generator →

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