#3C4E8A#3C4E8A

#3C4E8A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.101 H 269.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3C4E8A
RGBrgb(60, 78, 138)
HSLhsl(226, 39%, 39%)
HSVhsv(226, 57%, 54%)
CMYKcmyk(56.5%, 43.5%, 0%, 45.9%)
CIE-LABlab(34.49, 11.75, -35.66)
CIE-LCHlch(34.49, 37.55, 288.23°)
OKLaboklab(43.94% -0.0012 -0.1013)
OKLCHoklch(43.94% 0.101 269.3)
XYZxyz(9.1738, 8.2437, 25.1476)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E8A #8A783C
analogous
#3C758A #3C4E8A #513C8A
triadic
#3C4E8A #8A3C4E #4E8A3C
tetradic
#3C4E8A #8A3C75 #8A783C #3C8A51
square
#3C4E8A #8A3C75 #8A783C #3C8A51
split-complementary
#3C4E8A #8A513C #758A3C
monochromatic
#171E35 #29365F #3C4E8A #5067B3 #7B8CC6

Accessibility & contrast

On white

7.93
#3C4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3C4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4E8A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E8A#FFFFFF#000000##FFFFFF
##3C4E8A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#115B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c4e8a;
/* rgb */ color: rgb(60, 78, 138);
/* oklch */ color: oklch(43.9% 0.101 269.3);
Tailwind
colors: {
  custom: {
    50: '#787fac',
    500: '#3c4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e8a;
$custom-light: #787fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e8a",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 226.154,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43943,
    "c": 0.10132,
    "h": 269.3
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#3C4E8A
secondary
#AFA173
accent
#B459CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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