#3C42E2#3C42E2

#3C42E2 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 49.0% C 0.235 H 272.1°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3C42E2
RGBrgb(60, 66, 226)
HSLhsl(238, 74%, 56%)
HSVhsv(238, 73%, 89%)
CMYKcmyk(73.5%, 70.8%, 0%, 11.4%)
CIE-LABlab(38.46, 49.91, -81.16)
CIE-LCHlch(38.46, 95.28, 301.59°)
OKLaboklab(49.03% 0.0086 -0.2349)
OKLCHoklch(49.03% 0.235 272.1)
XYZxyz(17.5345, 10.3462, 73.0097)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42E2 #E2DC3C
analogous
#3C95E2 #3C42E2 #893CE2
triadic
#3C42E2 #E23C42 #42E23C
tetradic
#3C42E2 #E23C95 #E2DC3C #3CE289
square
#3C42E2 #E23C95 #E2DC3C #3CE289
split-complementary
#3C42E2 #E2893C #95E23C
monochromatic
#151A8E #1D23C4 #3C42E2 #7176EA #A7A9F2

Accessibility & contrast

On white

6.84
#3C42E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3C42E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C42E2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42E2#FFFFFF#000000##FFFFFF
##3C42E21.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0052DF
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3c42e2;
/* rgb */ color: rgb(60, 66, 226);
/* oklch */ color: oklch(49.0% 0.235 272.1);
Tailwind
colors: {
  custom: {
    50: '#8a78ec',
    500: '#3c42e2',
    950: '#000000',
  },
}
SCSS
$custom: #3c42e2;
$custom-light: #8a78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42e2",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 237.831,
    "s": 74.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49032,
    "c": 0.23503,
    "h": 272.1
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#3C42E2
secondary
#DFDD9B
accent
#EA37F1
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3C42E2

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

Preview Lab → · Contrast checker → · Palette generator →

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