#3C4E8D#3C4E8D

#3C4E8D is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.106 H 269.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3C4E8D
RGBrgb(60, 78, 141)
HSLhsl(227, 40%, 39%)
HSVhsv(227, 57%, 55%)
CMYKcmyk(57.4%, 44.7%, 0%, 44.7%)
CIE-LABlab(34.66, 12.79, -37.21)
CIE-LCHlch(34.66, 39.35, 288.97°)
OKLaboklab(44.14% -0.0006 -0.1059)
OKLCHoklch(44.14% 0.106 269.7)
XYZxyz(9.3940, 8.3318, 26.3073)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E8D #8D7B3C
analogous
#3C778D #3C4E8D #533C8D
triadic
#3C4E8D #8D3C4E #4E8D3C
tetradic
#3C4E8D #8D3C77 #8D7B3C #3C8D53
square
#3C4E8D #8D3C77 #8D7B3C #3C8D53
split-complementary
#3C4E8D #8D533C #778D3C
monochromatic
#171F37 #2A3662 #3C4E8D #5167B5 #7C8DC7

Accessibility & contrast

On white

7.88
#3C4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3C4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4E8D
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E8D#FFFFFF#000000##FFFFFF
##3C4E8D1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558F
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#0B5C66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c4e8d;
/* rgb */ color: rgb(60, 78, 141);
/* oklch */ color: oklch(44.1% 0.106 269.7);
Tailwind
colors: {
  custom: {
    50: '#787faf',
    500: '#3c4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e8d;
$custom-light: #787faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e8d",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 226.667,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.10586,
    "h": 269.7
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#3C4E8D
secondary
#B1A374
accent
#B558D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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