#3C478E#3C478E

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

Color values

HEX#3C478E
RGBrgb(60, 71, 142)
HSLhsl(232, 41%, 40%)
HSVhsv(232, 58%, 56%)
CMYKcmyk(57.7%, 50%, 0%, 44.3%)
CIE-LABlab(32.74, 17.78, -40.90)
CIE-LCHlch(32.74, 44.59, 293.49°)
OKLaboklab(42.7% 0.0077 -0.1168)
OKLCHoklch(42.7% 0.117 273.8)
XYZxyz(8.9976, 7.4195, 26.5439)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C478E #8E833C
analogous
#3C708E #3C478E #5A3C8E
triadic
#3C478E #8E3C47 #478E3C
tetradic
#3C478E #8E3C70 #8E833C #3C8E5A
square
#3C478E #8E3C70 #8E833C #3C8E5A
split-complementary
#3C478E #8E5A3C #708E3C
monochromatic
#181C38 #2A3163 #3C478E #525FB6 #7D87C8

Accessibility & contrast

On white

8.45
#3C478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C478E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C478E#FFFFFF#000000##FFFFFF
##3C478E1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#184A8C
Tritanopia (blue-blind)
#0C5763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3c478e;
/* rgb */ color: rgb(60, 71, 142);
/* oklch */ color: oklch(42.7% 0.117 273.8);
Tailwind
colors: {
  custom: {
    50: '#797aaf',
    500: '#3c478e',
    950: '#000000',
  },
}
SCSS
$custom: #3c478e;
$custom-light: #797aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c478e",
  "rgb": {
    "r": 60,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 231.951,
    "s": 40.594,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42695,
    "c": 0.11701,
    "h": 273.8
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#3C478E
secondary
#B2A974
accent
#C057D0
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3C478E

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

Preview Lab → · Contrast checker → · Palette generator →

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