#3C42C3#3C42C3

#3C42C3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.1% C 0.197 H 273.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3C42C3
RGBrgb(60, 66, 195)
HSLhsl(237, 53%, 50%)
HSVhsv(237, 69%, 76%)
CMYKcmyk(69.2%, 66.2%, 0%, 23.5%)
CIE-LABlab(35.59, 39.53, -67.98)
CIE-LCHlch(35.59, 78.64, 300.18°)
OKLaboklab(46.09% 0.0123 -0.1964)
OKLCHoklch(46.09% 0.197 273.6)
XYZxyz(13.6587, 8.7959, 52.5971)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42C3 #C3BD3C
analogous
#3C86C3 #3C42C3 #793CC3
triadic
#3C42C3 #C33C42 #42C33C
tetradic
#3C42C3 #C33C86 #C3BD3C #3CC379
square
#3C42C3 #C33C86 #C3BD3C #3CC379
split-complementary
#3C42C3 #C3793C #86C33C
monochromatic
#1F2265 #2E3294 #3C42C3 #6B6FD1 #9A9DE0

Accessibility & contrast

On white

7.61
#3C42C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3C42C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42C3
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42C3#FFFFFF#000000##FFFFFF
##3C42C31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3c42c3;
/* rgb */ color: rgb(60, 66, 195);
/* oklch */ color: oklch(46.1% 0.197 273.6);
Tailwind
colors: {
  custom: {
    50: '#8477d6',
    500: '#3c42c3',
    950: '#000000',
  },
}
SCSS
$custom: #3c42c3;
$custom-light: #8477d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42c3",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 195
  },
  "hsl": {
    "h": 237.333,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.46093,
    "c": 0.19676,
    "h": 273.6
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#3C42C3
secondary
#CCC98F
accent
#D64BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3C42C3

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

Preview Lab → · Contrast checker → · Palette generator →

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