#3C42AE#3C42AE

#3C42AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.169 H 274.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3C42AE
RGBrgb(60, 66, 174)
HSLhsl(237, 49%, 46%)
HSVhsv(237, 66%, 68%)
CMYKcmyk(65.5%, 62.1%, 0%, 31.8%)
CIE-LABlab(33.80, 32.28, -58.52)
CIE-LCHlch(33.80, 66.83, 298.89°)
OKLaboklab(44.23% 0.0138 -0.1686)
OKLCHoklch(44.23% 0.169 274.7)
XYZxyz(11.4492, 7.9121, 40.9600)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42AE #AEA83C
analogous
#3C7BAE #3C42AE #6F3CAE
triadic
#3C42AE #AE3C42 #42AE3C
tetradic
#3C42AE #AE3C7B #AEA83C #3CAE6F
square
#3C42AE #AE3C7B #AEA83C #3CAE6F
split-complementary
#3C42AE #AE6F3C #7BAE3C
monochromatic
#1D1F53 #2C3180 #3C42AE #5F65C8 #8D91D8

Accessibility & contrast

On white

8.13
#3C42AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3C42AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42AE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42AE#FFFFFF#000000##FFFFFF
##3C42AE1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3c42ae;
/* rgb */ color: rgb(60, 66, 174);
/* oklch */ color: oklch(44.2% 0.169 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f76c7',
    500: '#3c42ae',
    950: '#000000',
  },
}
SCSS
$custom: #3c42ae;
$custom-light: #7f76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42ae",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 236.842,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44231,
    "c": 0.16917,
    "h": 274.7
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#3C42AE
secondary
#C2BF83
accent
#D150D8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3C42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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