#3C42C4#3C42C4

#3C42C4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 46.2% C 0.198 H 273.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3C42C4
RGBrgb(60, 66, 196)
HSLhsl(237, 54%, 50%)
HSVhsv(237, 69%, 77%)
CMYKcmyk(69.4%, 66.3%, 0%, 23.1%)
CIE-LABlab(35.68, 39.87, -68.42)
CIE-LCHlch(35.68, 79.19, 300.23°)
OKLaboklab(46.18% 0.0122 -0.1976)
OKLCHoklch(46.18% 0.198 273.5)
XYZxyz(13.7722, 8.8413, 53.1946)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42C4 #C4BE3C
analogous
#3C86C4 #3C42C4 #7A3CC4
triadic
#3C42C4 #C43C42 #42C43C
tetradic
#3C42C4 #C43C86 #C4BE3C #3CC47A
square
#3C42C4 #C43C86 #C4BE3C #3CC47A
split-complementary
#3C42C4 #C47A3C #86C43C
monochromatic
#1F2267 #2D3296 #3C42C4 #6B70D2 #9A9DE0

Accessibility & contrast

On white

7.59
#3C42C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3C42C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42C4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42C4#FFFFFF#000000##FFFFFF
##3C42C41.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c42c4;
/* rgb */ color: rgb(60, 66, 196);
/* oklch */ color: oklch(46.2% 0.198 273.5);
Tailwind
colors: {
  custom: {
    50: '#8477d7',
    500: '#3c42c4',
    950: '#000000',
  },
}
SCSS
$custom: #3c42c4;
$custom-light: #8477d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42c4",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 196
  },
  "hsl": {
    "h": 237.353,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.19803,
    "h": 273.5
  },
  "luminance": 0.08843
}

Semantic roles & 50–950 ramp

primary
#3C42C4
secondary
#CCCA90
accent
#D64BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3C42C4

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

Preview Lab → · Contrast checker → · Palette generator →

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