#3C478D#3C478D

#3C478D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.116 H 273.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3C478D
RGBrgb(60, 71, 141)
HSLhsl(232, 40%, 39%)
HSVhsv(232, 57%, 55%)
CMYKcmyk(57.4%, 49.6%, 0%, 44.7%)
CIE-LABlab(32.68, 17.43, -40.39)
CIE-LCHlch(32.68, 43.99, 293.34°)
OKLaboklab(42.62% 0.0076 -0.1153)
OKLCHoklch(42.62% 0.116 273.8)
XYZxyz(8.9229, 7.3896, 26.1503)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C478D #8D823C
analogous
#3C708D #3C478D #5A3C8D
triadic
#3C478D #8D3C47 #478D3C
tetradic
#3C478D #8D3C70 #8D823C #3C8D5A
square
#3C478D #8D3C70 #8D823C #3C8D5A
split-complementary
#3C478D #8D5A3C #708D3C
monochromatic
#171C37 #2A3162 #3C478D #515FB5 #7C86C7

Accessibility & contrast

On white

8.47
#3C478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3C478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C478D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C478D#FFFFFF#000000##FFFFFF
##3C478D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#0E5763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3c478d;
/* rgb */ color: rgb(60, 71, 141);
/* oklch */ color: oklch(42.6% 0.116 273.8);
Tailwind
colors: {
  custom: {
    50: '#797aaf',
    500: '#3c478d',
    950: '#000000',
  },
}
SCSS
$custom: #3c478d;
$custom-light: #797aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c478d",
  "rgb": {
    "r": 60,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 231.852,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42624,
    "c": 0.11551,
    "h": 273.8
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#3C478D
secondary
#B1A974
accent
#C058D0
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3C478D

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

Preview Lab → · Contrast checker → · Palette generator →

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