#3C47C8#3C47C8

#3C47C8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.197 H 272.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#3C47C8
RGBrgb(60, 71, 200)
HSLhsl(235, 56%, 51%)
HSVhsv(235, 70%, 78%)
CMYKcmyk(70%, 64.5%, 0%, 21.6%)
CIE-LABlab(37.18, 38.17, -68.29)
CIE-LCHlch(37.18, 78.23, 299.21°)
OKLaboklab(47.39% 0.0085 -0.1972)
OKLCHoklch(47.39% 0.197 272.5)
XYZxyz(14.5385, 9.6359, 55.7261)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C47C8 #C8BD3C
analogous
#3C8DC8 #3C47C8 #773CC8
triadic
#3C47C8 #C83C47 #47C83C
tetradic
#3C47C8 #C83C8D #C8BD3C #3CC877
square
#3C47C8 #C83C8D #C8BD3C #3CC877
split-complementary
#3C47C8 #C8773C #8DC83C
monochromatic
#1E246B #2C349B #3C47C8 #6C74D5 #9BA1E3

Accessibility & contrast

On white

7.17
#3C47C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#3C47C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C47C8
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C47C8#FFFFFF#000000##FFFFFF
##3C47C81.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0051C6
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3c47c8;
/* rgb */ color: rgb(60, 71, 200);
/* oklch */ color: oklch(47.4% 0.197 272.5);
Tailwind
colors: {
  custom: {
    50: '#847ada',
    500: '#3c47c8',
    950: '#000000',
  },
}
SCSS
$custom: #3c47c8;
$custom-light: #847ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3c47c8",
  "rgb": {
    "r": 60,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 235.286,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47389,
    "c": 0.19742,
    "h": 272.5
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#3C47C8
secondary
#CFCA91
accent
#D349DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3C47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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