#3C42BF#3C42BF

#3C42BF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.192 H 273.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3C42BF
RGBrgb(60, 66, 191)
HSLhsl(237, 52%, 49%)
HSVhsv(237, 69%, 75%)
CMYKcmyk(68.6%, 65.4%, 0%, 25.1%)
CIE-LABlab(35.24, 38.16, -66.21)
CIE-LCHlch(35.24, 76.42, 299.96°)
OKLaboklab(45.73% 0.0127 -0.1912)
OKLCHoklch(45.73% 0.192 273.8)
XYZxyz(13.2125, 8.6174, 50.2471)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C42BF #BFB93C
analogous
#3C84BF #3C42BF #783CBF
triadic
#3C42BF #BF3C42 #42BF3C
tetradic
#3C42BF #BF3C84 #BFB93C #3CBF78
square
#3C42BF #BF3C84 #BFB93C #3CBF78
split-complementary
#3C42BF #BF783C #84BF3C
monochromatic
#1F2262 #2D3290 #3C42BF #686DD0 #979ADE

Accessibility & contrast

On white

7.71
#3C42BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3C42BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C42BF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C42BF#FFFFFF#000000##FFFFFF
##3C42BF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c42bf;
/* rgb */ color: rgb(60, 66, 191);
/* oklch */ color: oklch(45.7% 0.192 273.8);
Tailwind
colors: {
  custom: {
    50: '#8377d3',
    500: '#3c42bf',
    950: '#000000',
  },
}
SCSS
$custom: #3c42bf;
$custom-light: #8377d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c42bf",
  "rgb": {
    "r": 60,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 237.252,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.19161,
    "h": 273.8
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#3C42BF
secondary
#CAC78D
accent
#D54CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3C42BF

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

Preview Lab → · Contrast checker → · Palette generator →

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