#3C4E8F#3C4E8F

#3C4E8F is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.3% C 0.109 H 269.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3C4E8F
RGBrgb(60, 78, 143)
HSLhsl(227, 41%, 40%)
HSVhsv(227, 58%, 56%)
CMYKcmyk(58%, 45.5%, 0%, 43.9%)
CIE-LABlab(34.79, 13.49, -38.24)
CIE-LCHlch(34.79, 40.55, 289.44°)
OKLaboklab(44.27% -0.0003 -0.1089)
OKLCHoklch(44.27% 0.109 269.9)
XYZxyz(9.5441, 8.3919, 27.0981)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E8F #8F7D3C
analogous
#3C788F #3C4E8F #543C8F
triadic
#3C4E8F #8F3C4E #4E8F3C
tetradic
#3C4E8F #8F3C78 #8F7D3C #3C8F54
square
#3C4E8F #8F3C78 #8F7D3C #3C8F54
split-complementary
#3C4E8F #8F543C #788F3C
monochromatic
#181F39 #2A3664 #3C4E8F #5268B6 #7D8DC8

Accessibility & contrast

On white

7.84
#3C4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3C4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C4E8F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E8F#FFFFFF#000000##FFFFFF
##3C4E8F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#264E8E
Tritanopia (blue-blind)
#065C67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3c4e8f;
/* rgb */ color: rgb(60, 78, 143);
/* oklch */ color: oklch(44.3% 0.109 269.9);
Tailwind
colors: {
  custom: {
    50: '#797fb0',
    500: '#3c4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e8f;
$custom-light: #797fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e8f",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 226.988,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44271,
    "c": 0.10887,
    "h": 269.9
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#3C4E8F
secondary
#B2A575
accent
#B657D1
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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