#3C4CAC#3C4CAC

#3C4CAC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.154 H 271.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3C4CAC
RGBrgb(60, 76, 172)
HSLhsl(231, 48%, 45%)
HSVhsv(231, 65%, 67%)
CMYKcmyk(65.1%, 55.8%, 0%, 32.5%)
CIE-LABlab(36.19, 25.12, -53.44)
CIE-LCHlch(36.19, 59.05, 295.18°)
OKLaboklab(45.96% 0.0049 -0.1536)
OKLCHoklch(45.96% 0.154 271.8)
XYZxyz(11.8918, 9.1071, 40.1529)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4CAC #AC9C3C
analogous
#3C84AC #3C4CAC #643CAC
triadic
#3C4CAC #AC3C4C #4CAC3C
tetradic
#3C4CAC #AC3C84 #AC9C3C #3CAC64
square
#3C4CAC #AC3C84 #AC9C3C #3CAC64
split-complementary
#3C4CAC #AC643C #84AC3C
monochromatic
#1C2451 #2C387F #3C4CAC #5E6DC7 #8C96D7

Accessibility & contrast

On white

7.44
#3C4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3C4CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4CAC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4CAC#FFFFFF#000000##FFFFFF
##3C4CAC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c4cac;
/* rgb */ color: rgb(60, 76, 172);
/* oklch */ color: oklch(46.0% 0.154 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e7dc5',
    500: '#3c4cac',
    950: '#000000',
  },
}
SCSS
$custom: #3c4cac;
$custom-light: #7e7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4cac",
  "rgb": {
    "r": 60,
    "g": 76,
    "b": 172
  },
  "hsl": {
    "h": 231.429,
    "s": 48.276,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45958,
    "c": 0.15367,
    "h": 271.8
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#3C4CAC
secondary
#C1B882
accent
#C450D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3C4CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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