#3C42BC#3C42BC

#3C42BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.188 H 273.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3C42BC
RGBrgb(60, 66, 188)
HSLhsl(237, 52%, 49%)
HSVhsv(237, 68%, 74%)
CMYKcmyk(68.1%, 64.9%, 0%, 26.3%)
CIE-LABlab(34.98, 37.13, -64.88)
CIE-LCHlch(34.98, 74.75, 299.78°)
OKLaboklab(45.46% 0.0129 -0.1873)
OKLCHoklch(45.46% 0.188 273.9)
XYZxyz(12.8858, 8.4867, 48.5262)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42BC #BCB63C
analogous
#3C82BC #3C42BC #763CBC
triadic
#3C42BC #BC3C42 #42BC3C
tetradic
#3C42BC #BC3C82 #BCB63C #3CBC76
square
#3C42BC #BC3C82 #BCB63C #3CBC76
split-complementary
#3C42BC #BC763C #82BC3C
monochromatic
#1E215F #2D328E #3C42BC #676CCE #9599DD

Accessibility & contrast

On white

7.78
#3C42BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3C42BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42BC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42BC#FFFFFF#000000##FFFFFF
##3C42BC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3c42bc;
/* rgb */ color: rgb(60, 66, 188);
/* oklch */ color: oklch(45.5% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#8276d1',
    500: '#3c42bc',
    950: '#000000',
  },
}
SCSS
$custom: #3c42bc;
$custom-light: #8276d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42bc",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 237.188,
    "s": 51.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4546,
    "c": 0.18773,
    "h": 273.9
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#3C42BC
secondary
#C9C68B
accent
#D44DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3C42BC

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

Preview Lab → · Contrast checker → · Palette generator →

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