#3C4C8A#3C4C8A

#3C4C8A is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.104 H 270.7°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3C4C8A
RGBrgb(60, 76, 138)
HSLhsl(228, 39%, 39%)
HSVhsv(228, 57%, 54%)
CMYKcmyk(56.5%, 44.9%, 0%, 45.9%)
CIE-LABlab(33.91, 13.06, -36.59)
CIE-LCHlch(33.91, 38.85, 289.65°)
OKLaboklab(43.5% 0.0012 -0.104)
OKLCHoklch(43.5% 0.104 270.7)
XYZxyz(9.0339, 7.9639, 25.1010)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4C8A #8A7A3C
analogous
#3C738A #3C4C8A #533C8A
triadic
#3C4C8A #8A3C4C #4C8A3C
tetradic
#3C4C8A #8A3C73 #8A7A3C #3C8A53
square
#3C4C8A #8A3C73 #8A7A3C #3C8A53
split-complementary
#3C4C8A #8A533C #738A3C
monochromatic
#171D35 #29355F #3C4C8A #5064B3 #7B8AC6

Accessibility & contrast

On white

8.10
#3C4C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3C4C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4C8A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4C8A#FFFFFF#000000##FFFFFF
##3C4C8A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#115A64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3c4c8a;
/* rgb */ color: rgb(60, 76, 138);
/* oklch */ color: oklch(43.5% 0.104 270.7);
Tailwind
colors: {
  custom: {
    50: '#787dac',
    500: '#3c4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #3c4c8a;
$custom-light: #787dac;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4c8a",
  "rgb": {
    "r": 60,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 227.692,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.435,
    "c": 0.10404,
    "h": 270.7
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#3C4C8A
secondary
#AFA373
accent
#B759CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3C4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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