#3C47B2#3C47B2

#3C47B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.168 H 273.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3C47B2
RGBrgb(60, 71, 178)
HSLhsl(234, 50%, 47%)
HSVhsv(234, 66%, 70%)
CMYKcmyk(66.3%, 60.1%, 0%, 30.2%)
CIE-LABlab(35.36, 30.49, -58.35)
CIE-LCHlch(35.36, 65.83, 297.59°)
OKLaboklab(45.49% 0.0094 -0.1681)
OKLCHoklch(45.49% 0.168 273.2)
XYZxyz(12.1499, 8.6804, 43.1460)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C47B2 #B2A73C
analogous
#3C82B2 #3C47B2 #6C3CB2
triadic
#3C47B2 #B23C47 #47B23C
tetradic
#3C47B2 #B23C82 #B2A73C #3CB26C
square
#3C47B2 #B23C82 #B2A73C #3CB26C
split-complementary
#3C47B2 #B26C3C #82B23C
monochromatic
#1D2256 #2D3584 #3C47B2 #616BCA #8F96D9

Accessibility & contrast

On white

7.67
#3C47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3C47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C47B2
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C47B2#FFFFFF#000000##FFFFFF
##3C47B21.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c47b2;
/* rgb */ color: rgb(60, 71, 178);
/* oklch */ color: oklch(45.5% 0.168 273.2);
Tailwind
colors: {
  custom: {
    50: '#807aca',
    500: '#3c47b2',
    950: '#000000',
  },
}
SCSS
$custom: #3c47b2;
$custom-light: #807aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3c47b2",
  "rgb": {
    "r": 60,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 234.407,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.16833,
    "h": 273.2
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#3C47B2
secondary
#C4BE86
accent
#CC4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3C47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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