#3C42CA#3C42CA

#3C42CA is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.7% C 0.206 H 273.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3C42CA
RGBrgb(60, 66, 202)
HSLhsl(237, 57%, 51%)
HSVhsv(237, 70%, 79%)
CMYKcmyk(70.3%, 67.3%, 0%, 20.8%)
CIE-LABlab(36.21, 41.91, -71.04)
CIE-LCHlch(36.21, 82.48, 300.54°)
OKLaboklab(46.74% 0.0116 -0.2053)
OKLCHoklch(46.74% 0.206 273.2)
XYZxyz(14.4688, 9.1199, 56.8635)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42CA #CAC43C
analogous
#3C89CA #3C42CA #7D3CCA
triadic
#3C42CA #CA3C42 #42CA3C
tetradic
#3C42CA #CA3C89 #CAC43C #3CCA7D
square
#3C42CA #CA3C89 #CAC43C #3CCA7D
split-complementary
#3C42CA #CA7D3C #89CA3C
monochromatic
#1E216E #2B309E #3C42CA #6C71D7 #9C9FE4

Accessibility & contrast

On white

7.44
#3C42CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3C42CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42CA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42CA#FFFFFF#000000##FFFFFF
##3C42CA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c42ca;
/* rgb */ color: rgb(60, 66, 202);
/* oklch */ color: oklch(46.7% 0.206 273.2);
Tailwind
colors: {
  custom: {
    50: '#8577db',
    500: '#3c42ca',
    950: '#000000',
  },
}
SCSS
$custom: #3c42ca;
$custom-light: #8577db;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42ca",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 237.465,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46739,
    "c": 0.20563,
    "h": 273.2
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#3C42CA
secondary
#D0CE92
accent
#DA47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3C42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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