#3C47C4#3C47C4

#3C47C4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.0% C 0.192 H 272.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3C47C4
RGBrgb(60, 71, 196)
HSLhsl(235, 54%, 50%)
HSVhsv(235, 69%, 77%)
CMYKcmyk(69.4%, 63.8%, 0%, 23.1%)
CIE-LABlab(36.84, 36.79, -66.52)
CIE-LCHlch(36.84, 76.01, 298.95°)
OKLaboklab(47.03% 0.0088 -0.192)
OKLCHoklch(47.03% 0.192 272.6)
XYZxyz(14.0772, 9.4513, 53.2963)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C47C4 #C4B93C
analogous
#3C8BC4 #3C47C4 #753CC4
triadic
#3C47C4 #C43C47 #47C43C
tetradic
#3C47C4 #C43C8B #C4B93C #3CC475
square
#3C47C4 #C43C8B #C4B93C #3CC475
split-complementary
#3C47C4 #C4753C #8BC43C
monochromatic
#1F2567 #2D3696 #3C47C4 #6B73D2 #9AA0E0

Accessibility & contrast

On white

7.26
#3C47C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3C47C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C47C4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C47C4#FFFFFF#000000##FFFFFF
##3C47C41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3c47c4;
/* rgb */ color: rgb(60, 71, 196);
/* oklch */ color: oklch(47.0% 0.192 272.6);
Tailwind
colors: {
  custom: {
    50: '#837ad7',
    500: '#3c47c4',
    950: '#000000',
  },
}
SCSS
$custom: #3c47c4;
$custom-light: #837ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c47c4",
  "rgb": {
    "r": 60,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 235.147,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47033,
    "c": 0.19225,
    "h": 272.6
  },
  "luminance": 0.09453
}

Semantic roles & 50–950 ramp

primary
#3C47C4
secondary
#CCC790
accent
#D14BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3C47C4

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

Preview Lab → · Contrast checker → · Palette generator →

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